Compile Failure from SVN

[email protected] ("David E. Wheeler")
Newsgroups perl.dbd.pg
Message-ID <[email protected]>
% svn up
At revision 10636.
% perl Makefile.PL
WARNING! This is a test version (2.0.0_6) and should not be used in  
production!
Configuring DBD::Pg 2.0.0_6
PostgreSQL version: 80300 (default port: 5432)
POSTGRES_HOME: (not set)
POSTGRES_INCLUDE: (not set)
POSTGRES_LIB: (not set)
OS: darwin
Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.010000 on darwin-2level) installed in /usr/ 
local/lib/perl5/site_perl/5.10.0/darwin-2level/auto/DBI/
Writing Makefile for DBD::Pg
trigger% make
cp Pg.pm blib/lib/DBD/Pg.pm
/usr/local/bin/perl -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /usr/ 
local/lib/perl5/site_perl/5.10.0/darwin-2level/auto/DBI/Driver.xst >  
Pg.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp  - 
typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap  Pg.xs > Pg.xsc  
&& mv Pg.xsc Pg.c
cc -c  -I/usr/local/pgsql/include -I/usr/local/lib/perl5/site_perl/ 
5.10.0/darwin-2level/auto/DBI -fno-common -DPERL_DARWIN -no-cpp- 
precomp -fno-strict-aliasing -pipe -I/usr/local/include - 
DPGLIBVERSION=80300 -DPGDEFPORT=5432 -O3  -DPERL_EXTMALLOC_DEF - 
Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc - 
Dcalloc=Perl_calloc -DVERSION=\"2.0.0_6\" -DXS_VERSION=\"2.0.0_6\"  "- 
I/usr/local/lib/perl5/5.10.0/darwin-2level/CORE"   Pg.c
cc -c  -I/usr/local/pgsql/include -I/usr/local/lib/perl5/site_perl/ 
5.10.0/darwin-2level/auto/DBI -fno-common -DPERL_DARWIN -no-cpp- 
precomp -fno-strict-aliasing -pipe -I/usr/local/include - 
DPGLIBVERSION=80300 -DPGDEFPORT=5432 -O3  -DPERL_EXTMALLOC_DEF - 
Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc - 
Dcalloc=Perl_calloc -DVERSION=\"2.0.0_6\" -DXS_VERSION=\"2.0.0_6\"  "- 
I/usr/local/lib/perl5/5.10.0/darwin-2level/CORE"   dbdimp.c
dbdimp.c: In function ‘dbd_st_prepare_statement’:
dbdimp.c:1892: error: ‘NAMEDATALEN’ undeclared (first use in this  
function)
dbdimp.c:1892: error: (Each undeclared identifier is reported only once
dbdimp.c:1892: error: for each function it appears in.)
dbdimp.c: In function ‘dbd_st_deallocate_statement’:
dbdimp.c:3194: error: ‘NAMEDATALEN’ undeclared (first use in this  
function)
dbdimp.c: In function ‘pg_db_savepoint’:
dbdimp.c:3597: error: ‘NAMEDATALEN’ undeclared (first use in this  
function)
dbdimp.c: In function ‘pg_db_rollback_to’:
dbdimp.c:3640: error: ‘NAMEDATALEN’ undeclared (first use in this  
function)
dbdimp.c: In function ‘pg_db_release’:
dbdimp.c:3673: error: ‘NAMEDATALEN’ undeclared (first use in this  
function)
make: *** [dbdimp.o] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.