Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpq Writing Makefile for Postgres cp Postgres.pm blib/lib/Postgres.pm /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap -typemap typemap Postgres.xs > Postgres.xsc && mv Postgres.xsc Postgres.c cc -c -I/usr/local/postgres95/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" Postgres.c Error 112: "Postgres.xs", line 12 # Include file not found. #include ^^^^^^^^^^^^ Error 419: "Postgres.xs", line 42 # 'PGresult' is used as a type, but has not been defined as a type. PGresult *res; ^^^^^^^^ Error 373: "Postgres.xs", line 48 # Old-style function definition parameter must be a simple identifier. sql_error(PGconn* conn) ^^^^^^^^^^^^ Error 172: "Postgres.xs", line 51 # Undeclared variable 'conn'. sv_setpv(sve,PQerrorMessage(conn)); ^^^^^^^^ Error 172: "Postgres.c", line 89 # Undeclared variable 'PGconn'. PGconn * RETVAL; ^^^^^^ Error 172: "Postgres.xs", line 68 # Undeclared variable 'RETVAL'. RETVAL = PQsetdb(host,port,NULL,NULL,dbname); ^^^^^^ Error 172: "Postgres.xs", line 69 # Undeclared variable 'RETVAL'. if (PQstatus(RETVAL) == CONNECTION_BAD) { ^^^^^^ Error 172: "Postgres.xs", line 71 # Undeclared variable 'RETVAL'. sql_error(RETVAL); ^^^^^^ Error 172: "Postgres.xs", line 72 # Undeclared variable 'RETVAL'. PQfinish(RETVAL); ^^^^^^ Error 172: "Postgres.xs", line 73 # Undeclared variable 'RETVAL'. RETVAL=NULL; ^^^^^^ Error 172: "Postgres.c", line 112 # Undeclared variable 'RETVAL'. sv_setref_pv(ST(0), "PGconnPtr", (void*)RETVAL); ^^^^^^^^^^^^ Error 172: "Postgres.c", line 130 # Undeclared variable 'PGconn'. PGconn * conn; ^^^^^^ Error 699: "Postgres.c", line 130 # Error limit reached; halting compilation. PGconn * conn; ^^^^^^ make: *** [Postgres.o] Error 2