Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 16408
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: bryce1 [...] obviously.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.43_1
Fixed in: (no value)



Subject: Compile errors, Darwin, not detecting pg version
When Installing with cpan, on OS X Darwin, I get::: CPAN.pm: Going to build D/DB/DBDPG/DBD-Pg-1.43.tar.gz Configuring DBD::Pg 1.43 Path to pg_config? OS: darwin PostgreSQL version: 00000 **************** WARNING! DBD::Pg no longer supports versions less than 7.2. It is highly recommended that you upgrade PostgreSQL to a newer version. **************** **************** WARNING! Support for servers older than version 7.4 will soon end. It is highly recommended that you upgrade PostgreSQL to a newer version. **************** Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpq Using DBI 1.38 installed in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI Writing Makefile for DBD::Pg cp Pg.pm blib/lib/DBD/Pg.pm /usr/bin/perl -p -e "s/~DRIVER~/Pg/g" /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/Driver.xst > Pg.xsi /usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c cc -c -I -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -DPGLIBVERSION=00000 -Os -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Pg.c In file included from Pg.xs:14: Pg.h:18:22: libpq-fe.h: No such file or directory Pg.h:45:67: DBIXS.h: No such file or directory In file included from dbdimp.h:12, from Pg.h:47, from Pg.xs:14: types.h:10: error: parse error before "bool" types.h:10: warning: no semicolon at end of struct or union types.h:17: error: parse error before '}' token types.h:17: warning: data definition has no type or storage class types.h:19: error: parse error before '*' token types.h:19: warning: data definition has no type or storage class types.h:20: error: parse error before '*' token types.h:20: warning: data definition has no type or storage class In file included from Pg.h:47, from Pg.xs:14: dbdimp.h:16: error: parse error before "dbih_drc_t" .... and on for pages and pages.... it seems upset that I gave it no path to pg_config.