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/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/Users/cpanrun/build/5.10.0/lib/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: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:89: error: 'PGconn' undeclared (first use in this function) Postgres.c:89: 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:130: error: 'PGconn' undeclared (first use in this function) Postgres.c:130: error: 'conn' undeclared (first use in this function) Postgres.c:134: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_db': Postgres.c:162: error: 'PGconn' undeclared (first use in this function) Postgres.c:162: error: 'conn' undeclared (first use in this function) Postgres.c:168: error: parse error before ')' token Postgres.c:175: warning: assignment makes pointer from integer without a cast 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:89: error: 'PGconn' undeclared (first use in this function) Postgres.c:89: error: 'RETVAL' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_host': Postgres.c:194: error: 'PGconn' undeclared (first use in this function) Postgres.c:194: error: 'conn' undeclared (first use in this function) Postgres.xs:69: error: 'CONNECTION_BAD' undeclared (first use in this function) Postgres.c:200: error: parse error before ')' token Postgres.c:207: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_DESTROY': Postgres.c:130: error: 'PGconn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_options':Postgres.c:130: error: 'conn' undeclared (first use in this function) Postgres.c:226: error: 'PGconn' undeclared (first use in this function) Postgres.c:226: error: 'conn' undeclared (first use in this function) Postgres.c:134: error: parse error before ')' token Postgres.c:232: error: parse error before ')' token Postgres.c:239: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_db': Postgres.c:162: error: 'PGconn' undeclared (first use in this function) Postgres.c:162: error: 'conn' undeclared (first use in this function) Postgres.c:168: error: parse error before ')' token Postgres.c:175: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_port': Postgres.c:258: error: 'PGconn' undeclared (first use in this function) Postgres.c:258: error: 'conn' undeclared (first use in this function) Postgres.c:264: error: parse error before ')' token Postgres.c:271: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_host': Postgres.c:194: error: 'PGconn' undeclared (first use in this function) Postgres.c:194: error: 'conn' undeclared (first use in this function) Postgres.c:200: error: parse error before ')' token Postgres.c:207: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_tty': Postgres.c:290: error: 'PGconn' undeclared (first use in this function) Postgres.c:290: error: 'conn' undeclared (first use in this function) Postgres.c:296: error: parse error before ')' token Postgres.c:303: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_options': 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:239: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_errorMessage': Postgres.c:322: error: 'PGconn' undeclared (first use in this function) Postgres.c:322: error: 'conn' undeclared (first use in this function) Postgres.c:328: error: parse error before ')' token Postgres.c:335: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_port': Postgres.c:258: error: 'PGconn' undeclared (first use in this function) Postgres.c:258: error: 'conn' undeclared (first use in this function) Postgres.c:264: error: parse error before ')' token Postgres.c:271: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_PGconnPtr_reset': Postgres.c:354: error: 'PGconn' undeclared (first use in this function) Postgres.c:354: error: 'conn' undeclared (first use in this function) Postgres.c:358: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_tty': Postgres.c:290: error: 'PGconn' undeclared (first use in this function) Postgres.c:290: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_putline': Postgres.c:383: error: 'PGconn' undeclared (first use in this function) Postgres.c:383: error: 'conn' undeclared (first use in this function) Postgres.c:296: error: parse error before ')' token Postgres.c:303: warning: assignment makes pointer from integer without a cast Postgres.c:388: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_errorMessage': Postgres.c:322: error: 'PGconn' undeclared (first use in this function) Postgres.c:322: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_getline': Postgres.c:413: error: 'PGconn' undeclared (first use in this function) Postgres.c:413: error: 'conn' undeclared (first use in this function) Postgres.c:328: error: parse error before ')' token Postgres.c:335: warning: assignment makes pointer from integer without a cast Postgres.c:423: error: parse error before ')' token Postgres.xs:148: error: 'sv_undef' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_reset': Postgres.c:354: error: 'PGconn' undeclared (first use in this function) Postgres.c:354: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_PGconnPtr_endcopy': Postgres.c:466: error: 'PGconn' undeclared (first use in this function) Postgres.c:466: error: 'conn' undeclared (first use in this function) Postgres.c:358: error: parse error before ')' token Postgres.c:472: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_putline': Postgres.c:383: error: 'PGconn' undeclared (first use in this function) Postgres.c:383: error: 'conn' undeclared (first use in this function) Postgres.c:388: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_execute': Postgres.c:498: error: 'PGconn' undeclared (first use in this function) Postgres.c:498: error: 'conn' undeclared (first use in this function) Postgres.c:500: error: 'RETVAL' undeclared (first use in this function) Postgres.c:504: 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:413: error: 'PGconn' undeclared (first use in this function) Postgres.c:413: error: 'conn' undeclared (first use in this function) Postgres.c:423: 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:562: error: 'q' undeclared (first use in this function) Postgres.c:566: error: parse error before ')' token Postgres.c: In function 'XS_PGconnPtr_endcopy': Postgres.c:466: error: 'PGconn' undeclared (first use in this function) Postgres.c:466: error: 'conn' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_ntuples': Postgres.c:595: error: 'q' undeclared (first use in this function) Postgres.c:472: error: parse error before ')' token Postgres.c:601: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_nfields':Postgres.c: In function 'XS_PGconnPtr_execute': Postgres.c:628: error: 'q' undeclared (first use in this function)Postgres.c:498: error: 'PGconn' undeclared (first use in this function) Postgres.c:498: error: 'conn' undeclared (first use in this function) Postgres.c:500: error: 'RETVAL' undeclared (first use in this function) Postgres.c:634: error: parse error before ')' token Postgres.c:504: 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_QUERYPtr_fname': Postgres.c:661: error: 'q' undeclared (first use in this function) Postgres.c:668: error: parse error before ')' token Postgres.xs:241: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_DESTROY': Postgres.c:562: error: 'q' undeclared (first use in this function) Postgres.c:566: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fnumber': Postgres.c:695: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_ntuples': Postgres.c:595: error: 'q' undeclared (first use in this function) Postgres.c:601: error: parse error before ')' token Postgres.c:702: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_nfields': Postgres.c:628: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_ftype': Postgres.c:729: error: 'q' undeclared (first use in this function) Postgres.c:634: error: parse error before ')' token Postgres.c:731: error: 'Oid' undeclared (first use in this function) Postgres.c:731: error: parse error before 'RETVAL' Postgres.c:736: error: parse error before ')' token Postgres.xs:261: error: 'RETVAL' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_fname': Postgres.c:661: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_fsize': Postgres.c:763: error: 'q' undeclared (first use in this function) Postgres.c:668: error: parse error before ')' token Postgres.xs:241: warning: assignment makes pointer from integer without a cast Postgres.c:770: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fnumber': Postgres.c:695: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_getvalue': Postgres.c:797: error: 'q' undeclared (first use in this function) Postgres.c:702: error: parse error before ')' token Postgres.c:805: error: parse error before ')' token Postgres.xs:282: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_ftype': Postgres.c:729: error: 'q' undeclared (first use in this function) Postgres.c:731: error: 'Oid' undeclared (first use in this function) Postgres.c:731: error: parse error before 'RETVAL' Postgres.c: In function 'XS_QUERYPtr_getlength': Postgres.c:832: error: 'q' undeclared (first use in this function) Postgres.c:736: error: parse error before ')' token Postgres.xs:261: error: 'RETVAL' undeclared (first use in this function) Postgres.c:840: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fsize': Postgres.c:763: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_getisnull': Postgres.c:867: error: 'q' undeclared (first use in this function) Postgres.c:770: error: parse error before ')' token Postgres.c:875: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_getvalue': Postgres.c:797: error: 'q' undeclared (first use in this function) Postgres.c: In function 'XS_QUERYPtr_cmdStatus': Postgres.c:902: error: 'q' undeclared (first use in this function) Postgres.c:908: error: parse error before ')' token Postgres.c:805: error: parse error before ')' token Postgres.xs:313: warning: assignment makes pointer from integer without a cast Postgres.xs:282: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_oidStatus': Postgres.c:935: error: 'q' undeclared (first use in this function) Postgres.c:941: error: parse error before ')' token Postgres.xs:322: warning: assignment makes pointer from integer without a cast Postgres.c: In function 'XS_QUERYPtr_getlength': Postgres.c:832: error: 'q' undeclared (first use in this function) Postgres.c:840: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_fetchrow': Postgres.c:970: error: 'q' undeclared (first use in this function) Postgres.c:974: 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_getisnull': Postgres.c:867: error: 'q' undeclared (first use in this function) Postgres.c:875: error: parse error before ')' token Postgres.c: In function 'XS_QUERYPtr_cmdStatus': Postgres.c:902: error: 'q' undeclared (first use in this function) Postgres.c:908: 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:935: error: 'q' undeclared (first use in this function) Postgres.c:941: 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:970: error: 'q' undeclared (first use in this function) Postgres.c:974: 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//cc43t7bg.out (No such file or directory) make: *** [Postgres.o] Error 1