Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lmagic Writing Makefile for File::LibMagic cp LibMagic.pm blib/lib/File/LibMagic.pm AutoSplitting blib/lib/File/LibMagic.pm (blib/lib/auto/File/LibMagic) /home/cpanrun/ia64-lp64/build/5.8.2/bin/perl /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/typemap LibMagic.xs > LibMagic.xsc && mv LibMagic.xsc LibMagic.c cc -c -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.85\" -DXS_VERSION=\"0.85\" +Z "-I/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE" LibMagic.c Error 173: "/usr/include/sys/magic.h", line 40 # Redefined symbol 'magic'; previously defined at ["/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE/mg.h", line 26]. struct magic { ^^^^^^^^^^^^ Error 173: "/usr/include/sys/magic.h", line 45 # Redefined symbol 'MAGIC'; previously defined at ["/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE/perl.h", line 1783]. typedef struct magic MAGIC; ^^^^^ Error 419: "LibMagic.xs", line 28 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 172: "LibMagic.xs", line 34 # Undeclared variable 'MAGIC_NONE'. m = magic_open(MAGIC_NONE); ^^^^^^^^^^ Error 419: "LibMagic.xs", line 58 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 172: "LibMagic.xs", line 65 # Undeclared variable 'MAGIC_NONE'. m = magic_open(MAGIC_NONE); ^^^^^^^^^^ Error 419: "LibMagic.xs", line 88 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 419: "LibMagic.xs", line 101 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 419: "LibMagic.xs", line 106 # 'magic_t' is used as a type, but has not been defined as a type. m=(magic_t) handle; ^^^^^^^ Error 419: "LibMagic.xs", line 113 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 419: "LibMagic.xs", line 120 # 'magic_t' is used as a type, but has not been defined as a type. m=(magic_t) handle; ^^^^^^^ Error 419: "LibMagic.xs", line 135 # 'magic_t' is used as a type, but has not been defined as a type. magic_t m; ^^^^^^^ Error 699: "LibMagic.xs", line 135 # Error limit reached; halting compilation. magic_t m; ^^^^^^^ make: *** [LibMagic.o] Error 2