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 /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap Postgres.xs > Postgres.xsc && mv Postgres.xsc Postgres.c gcc -c -I/usr/local/postgres95/include -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Postgres.c Postgres.xs:12:22: error: libpq-fe.h: No such file or directory Postgres.xs:42: error: parse error before 'PGresult' Postgres.xs:42: warning: no semicolon at end of struct or union Postgres.xs:43: warning: data definition has no type or storage class Postgres.xs:48: error: parse error before '*' token Postgres.xs: In function 'sql_error': Postgres.xs:51: error: 'conn' undeclared (first use in this function) Postgres.xs:51: error: (Each undeclared identifier is reported only once Postgres.xs:51: error: for each function it appears in.) Postgres.xs:51: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast Postgres.c: In function 'XS_Postgres_db_connect': Postgres.c:85: error: 'PGconn' undeclared (first use in this function) Postgres.c:85: error: 'RETVAL' undeclared (first use in this function) Postgres.xs:69: error: 'CONNECTION_BAD' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_DESTROY': Postgres.c:122: error: 'PGconn' undeclared (first use in this function) Postgres.c:122: error: 'conn' undeclared (first use in this function) Postgres.c:126: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_db': Postgres.c:148: error: 'PGconn' undeclared (first use in this function) Postgres.c:148: error: 'conn' undeclared (first use in this function) Postgres.c:154: error: parse error before ')' token Postgres.c:159: warning: assignment makes pointer from integer without a cast Postgres.xs:12:22: error: libpq-fe.h: No such file or directory Postgres.xs:42: error: parse error before 'PGresult' Postgres.xs:42: warning: no semicolon at end of struct or union Postgres.xs:43: warning: data definition has no type or storage class Postgres.xs:48: error: parse error before '*' token Postgres.c: In function 'XS_PGconnPtr_host': Postgres.c:174: error: 'PGconn' undeclared (first use in this function) Postgres.c:174: error: 'conn' undeclared (first use in this function) Postgres.xs: In function 'sql_error': Postgres.xs:51: error: 'conn' undeclared (first use in this function) Postgres.xs:51: error: (Each undeclared identifier is reported only once Postgres.xs:51: error: for each function it appears in.) Postgres.xs:51: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast Postgres.c:180: error: parse error before ')' token Postgres.c:185: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_Postgres_db_connect': Postgres.c:85: error: 'PGconn' undeclared (first use in this function) Postgres.c:85: error: 'RETVAL' undeclared (first use in this function) Postgres.xs:69: error: 'CONNECTION_BAD' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_options': Postgres.c:200: error: 'PGconn' undeclared (first use in this function) Postgres.c:200: error: 'conn' undeclared (first use in this function) Postgres.c:206: error: parse error before ')' token Postgres.c:211: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_DESTROY': Postgres.c:122: error: 'PGconn' undeclared (first use in this function) Postgres.c:122: error: 'conn' undeclared (first use in this function) Postgres.c:126: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_port': Postgres.c:226: error: 'PGconn' undeclared (first use in this function) Postgres.c:226: error: 'conn' undeclared (first use in this function) Postgres.c:232: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_db': Postgres.c:237: warning: assignment makes pointer from integer without a castPostgres.c:148: error: 'PGconn' undeclared (first use in this function) Postgres.c:148: error: 'conn' undeclared (first use in this function) Postgres.c:154: error: parse error before ')' token Postgres.c:159: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_tty': Postgres.c:252: error: 'PGconn' undeclared (first use in this function) Postgres.c:252: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_host': Postgres.c:174: error: 'PGconn' undeclared (first use in this function) Postgres.c:174: error: 'conn' undeclared (first use in this function) Postgres.c:258: error: parse error before ')' token Postgres.c:263: warning: assignment makes pointer from integer without a cast Postgres.c:180: error: parse error before ')' token Postgres.c:185: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_errorMessage': Postgres.c:278: error: 'PGconn' undeclared (first use in this function) Postgres.c:278: error: 'conn' undeclared (first use in this function) Postgres.c:284: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_options': Postgres.c:200: error: 'PGconn' undeclared (first use in this function)Postgres.c:289: warning: assignment makes pointer from integer without a cast Postgres.c:200: error: 'conn' undeclared (first use in this function) Postgres.c:206: error: parse error before ')' token Postgres.c:211: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_reset':Postgres.c: In function 'XS_PGconnPtr_port': Postgres.c:304: error: 'PGconn' undeclared (first use in this function)Postgres.c:226: error: 'PGconn' undeclared (first use in this function) Postgres.c:304: error: 'conn' undeclared (first use in this function)Postgres.c:226: error: 'conn' undeclared (first use in this function) Postgres.c:308: error: parse error before ')' token Postgres.c:232: error: parse error before ')' token Postgres.c:237: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_putline': Postgres.c:327: error: 'PGconn' undeclared (first use in this function) Postgres.c:327: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_tty': Postgres.c:252: error: 'PGconn' undeclared (first use in this function) Postgres.c:252: error: 'conn' undeclared (first use in this function) Postgres.c:332: error: parse error before ')' token Postgres.c:258: error: parse error before ')' token Postgres.c:263: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_getline': Postgres.c:351: error: 'PGconn' undeclared (first use in this function) Postgres.c:351: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_errorMessage': Postgres.c:361: error: parse error before ')' tokenPostgres.c:278: error: 'PGconn' undeclared (first use in this function) Postgres.c:278: error: 'conn' undeclared (first use in this function) Postgres.xs:148: error: 'sv_undef' undeclared (first use in this function) Postgres.c:284: error: parse error before ')' token Postgres.c:289: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_endcopy': Postgres.c:398: error: 'PGconn' undeclared (first use in this function) Postgres.c:398: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_reset': Postgres.c:304: error: 'PGconn' undeclared (first use in this function) Postgres.c:304: error: 'conn' undeclared (first use in this function) Postgres.c:404: error: parse error before ')' token Postgres.c:308: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_putline': Postgres.c:327: error: 'PGconn' undeclared (first use in this function) Postgres.c:327: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_execute': Postgres.c:424: error: 'PGconn' undeclared (first use in this function) Postgres.c:424: error: 'conn' undeclared (first use in this function) Postgres.c:332: error: parse error before ')' token Postgres.c:426: error: 'RETVAL' undeclared (first use in this function) Postgres.c:430: error: parse error before ')' token Postgres.xs:170: error: parse error before ')' token Postgres.xs:179: error: 'PGRES_COMMAND_OK' undeclared (first use in this function) Postgres.xs:180: error: 'PGRES_COPY_IN' undeclared (first use in this function) Postgres.xs:181: error: 'PGRES_COPY_OUT' undeclared (first use in this function) Postgres.xs:184: error: 'PGRES_TUPLES_OK' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_getline': Postgres.c:351: error: 'PGconn' undeclared (first use in this function) Postgres.c:351: error: 'conn' undeclared (first use in this function) Postgres.c:361: error: parse error before ')' token Postgres.xs:148: error: 'sv_undef' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_DESTROY': Postgres.c:482: error: 'q' undeclared (first use in this function) Postgres.c:486: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_endcopy': Postgres.c:398: error: 'PGconn' undeclared (first use in this function) Postgres.c:398: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_ntuples': Postgres.c:509: error: 'q' undeclared (first use in this function) Postgres.c:404: error: parse error before ')' token Postgres.c:515: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_execute': Postgres.c:424: error: 'PGconn' undeclared (first use in this function) Postgres.c:424: error: 'conn' undeclared (first use in this function) Postgres.c:426: error: 'RETVAL' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_nfields': Postgres.c:536: error: 'q' undeclared (first use in this function) Postgres.c:430: error: parse error before ')' token Postgres.xs:170: error: parse error before ')' token Postgres.xs:179: error: 'PGRES_COMMAND_OK' undeclared (first use in this function) Postgres.xs:180: error: 'PGRES_COPY_IN' undeclared (first use in this function) Postgres.xs:181: error: 'PGRES_COPY_OUT' undeclared (first use in this function) Postgres.xs:184: error: 'PGRES_TUPLES_OK' undeclared (first use in this function) Postgres.c:542: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fname': Postgres.c:563: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_DESTROY': Postgres.c:482: error: 'q' undeclared (first use in this function) Postgres.c:486: error: parse error before ')' token Postgres.c:570: error: parse error before ')' token Postgres.xs:241: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_ntuples': Postgres.c:509: error: 'q' undeclared (first use in this function) Postgres.c:515: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fnumber': Postgres.c:591: error: 'q' undeclared (first use in this function) Postgres.c:598: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_nfields': Postgres.c:536: error: 'q' undeclared (first use in this function) Postgres.c:542: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_ftype': Postgres.c:619: error: 'q' undeclared (first use in this function) Postgres.c:621: error: 'Oid' undeclared (first use in this function) Postgres.c:621: error: parse error before 'RETVAL' Postgres.c:626: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fname':Postgres.xs:261: error: 'RETVAL' undeclared (first use in this function) Postgres.c:563: error: 'q' undeclared (first use in this function) Postgres.c:570: error: parse error before ')' token Postgres.xs:241: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_fsize': Postgres.c:647: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_fnumber': Postgres.c:591: error: 'q' undeclared (first use in this function) Postgres.c:654: error: parse error before ')' token Postgres.c:598: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_getvalue': Postgres.c:675: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_ftype': Postgres.c:619: error: 'q' undeclared (first use in this function) Postgres.c:621: error: 'Oid' undeclared (first use in this function) Postgres.c:621: error: parse error before 'RETVAL' Postgres.c:683: error: parse error before ')' token Postgres.c:626: error: parse error before ')' token Postgres.xs:282: warning: assignment makes pointer from integer without a cast Postgres.xs:261: error: 'RETVAL' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_fsize': Postgres.c:647: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_getlength': Postgres.c:704: error: 'q' undeclared (first use in this function) Postgres.c:654: error: parse error before ')' token Postgres.c:712: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_getvalue': Postgres.c:675: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_getisnull': Postgres.c:733: error: 'q' undeclared (first use in this function) Postgres.c:683: error: parse error before ')' token Postgres.xs:282: warning: assignment makes pointer from integer without a cast Postgres.c:741: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_getlength': Postgres.c:704: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_cmdStatus': Postgres.c:762: error: 'q' undeclared (first use in this function) Postgres.c:768: error: parse error before ')' token Postgres.c:712: error: parse error before ')' tokenPostgres.xs:313: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_oidStatus': Postgres.c:789: error: 'q' undeclared (first use in this function) Postgres.c:795: error: parse error before ')' token Postgres.xs:322: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_getisnull': Postgres.c:733: error: 'q' undeclared (first use in this function) Postgres.c:741: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fetchrow': Postgres.c:818: error: 'q' undeclared (first use in this function) Postgres.c:822: error: parse error before ')' token Postgres.xs:339: error: 'sv_undef' undeclared (first use in this function) Postgres.xs:341: warning: initialization makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_cmdStatus': Postgres.c:762: error: 'q' undeclared (first use in this function) Postgres.c:768: error: parse error before ')' token Postgres.xs:313: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_oidStatus': Postgres.c:789: error: 'q' undeclared (first use in this function) Postgres.c:795: error: parse error before ')' token Postgres.xs:322: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_fetchrow': Postgres.c:818: error: 'q' undeclared (first use in this function) Postgres.c:822: error: parse error before ')' token Postgres.xs:339: error: 'sv_undef' undeclared (first use in this function) Postgres.xs:341: warning: initialization makes pointer from integer without a cast lipo: can't open input file: /var/tmp//ccErxQVy.out (No such file or directory) make: *** [Postgres.o] Error 1