Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: msk [...] newmail.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.46
  • 1.47
Fixed in: (no value)



Subject: Can't compile ('DBIcf_PrintWarn' undeclared)
System: Centos 4.2 Postgres: 8.1.3 (installed as rpm) Problem: # perl Makefile.PL Configuring DBD::Pg 1.47 Remember to actually read the README file! OS: linux PostgreSQL version: 80103 (default port: 5432) Using DBI 1.40 (for perl 5.008005 on i386-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI Writing Makefile for DBD::Pg # make gcc -c -I/usr/include -I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPGLIBVERSION=80103 -DPGDEFPORT=5432 -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"1.47\" -DXS_VERSION=\"1.47\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Pg.c gcc -c -I/usr/include -I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPGLIBVERSION=80103 -DPGDEFPORT=5432 -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"1.47\" -DXS_VERSION=\"1.47\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" dbdimp.c dbdimp.c: In function `pg_warn': dbdimp.c:211: error: `DBIcf_PrintWarn' undeclared (first use in this function) dbdimp.c:211: error: (Each undeclared identifier is reported only once dbdimp.c:211: error: for each function it appears in.) make: *** [dbdimp.o] Error 1 There is no problem in version 1.43.
This is caused by linking against a very old version of DBI (1.40). The next version requires >= version 1.45, so this should not be an issue any longer.