Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lrpm Note (probably harmless): No library found for -lrpmdb Note (probably harmless): No library found for -lrpmio Note (probably harmless): No library found for -lpopt Writing Makefile for RPM2 cp RPM2.pm blib/lib/RPM2.pm /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 -typemap typemap -typemap typemap RPM2.xs > RPM2.xsc && mv RPM2.xsc RPM2.c cc -c -I/usr/include/rpm -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 -g -DVERSION=\"0.67\" -DXS_VERSION=\"0.67\" +Z "-I/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE" -DRPM2_RPM40 RPM2.c Error 112: "RPM2.xs", line 2 # Include file "rpmlib.h" not found. #include "rpmlib.h" ^^^^^^^^^^ Error 112: "RPM2.xs", line 3 # Include file "rpmcli.h" not found. #include "rpmcli.h" ^^^^^^^^^^ Error 112: "RPM2.xs", line 10 # Include file "header.h" not found. #include "header.h" ^^^^^^^^^^ Error 112: "RPM2.xs", line 11 # Include file "rpmdb.h" not found. #include "rpmdb.h" ^^^^^^^^^ Error 19: "RPM2.xs", line 32 # Unexpected 'what'. const rpmCallbackType what, ^^^^ Error 419: "RPM2.xs", line 35 # 'fnpyKey' is used as a type, but has not been defined as a type. fnpyKey key, ^^^^^^^ Error 419: "RPM2.xs", line 36 # 'rpmCallbackData' is used as a type, but has not been defined as a type. rpmCallbackData data) ^^^^^^^^^^^^^^^ Error 419: "RPM2.xs", line 38 # 'Header' is used as a type, but has not been defined as a type. Header h = (Header) arg; ^^^^^^ Error 172: "RPM2.xs", line 38 # Undeclared variable 'Header'. Header h = (Header) arg; ^^^^^^ Error 20: "RPM2.xs", line 38 # ';' expected before 'arg'. Header h = (Header) arg; ^^^ Error 20: "RPM2.xs", line 43 # ';' expected before 'fd'. static FD_t fd = NULL; ^^ Error 172: "RPM2.xs", line 43 # Undeclared variable 'fd'. static FD_t fd = NULL; ^^ Error 699: "RPM2.xs", line 43 # Error limit reached; halting compilation. static FD_t fd = NULL; ^^ make: *** [RPM2.o] Error 2