|
From: Heiko Z. <he...@zu...> - 2005-10-28 12:41:44
|
Hey, this is actually a problem in the build system, currently it always tries to compile all perl modules. I think we need to add dependencies to the build/scripts/config/perl-ext file. Heiko On Fri, October 28, 2005 00:35, Martin Glazer wrote: > Hi > > > Using 1.2 CVS and the build fails while compiling DBI-DBD-Pg - I do not > have Postgresql or MySQL selected and doing some research, it looks like > it wants the postgresql libs. > > Is anyone else having this problem? > > > Thx > > > Martin > > > partial output from the logs... > > > ******** compiling perl extension DBI-DBD-Pg ******** > Configuring Pg > Remember to actually read the README file! > Path to pg_config? > OS: linux > PostgreSQL version: .. > > > **************** > WARNING! DBD::Pg no longer supports versions less than 7.2. > It is highly recommended that you upgrade PostgreSQL to a newer version. > **************** > > > Using DBI 1.47 (for perl 5.008007 on i686-linux-thread-multi) installed > in /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/auto/DBI/ > Checking if your kit is complete... > Looks good > Note (probably harmless): No library found for -lpq > Using DBI 1.47 (for perl 5.008007 on i686-linux-thread-multi) installed > in /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/auto/DBI/ Writing > Makefile for DBD::Pg > removing debug symbols from binaries make[1]: Entering directory > `/build/tmp/perl-ext/DBI-DBD-Pg-1.32' > cp Pg.pm blib/lib/DBD/Pg.pm /usr/bin/perl -p -e > "s/~DRIVER~/Pg/g" > /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/auto/DBI//Driver.x > st >> Pg.xsi >> > /usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp > -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap Pg.xs > Pg.xsc && mv > Pg.xsc > Pg.c > cc -c -I > -I/usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/auto/DBI/ > -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree > -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"1.32\" > -DXS_VERSION=\"1.32\" -fpic > "-I/usr/lib/perl5/5.8.7/i686-linux-thread-multi/CORE" Pg.c > In file included from Pg.xs:13: > Pg.h:17:22: libpq-fe.h: No such file or directory > Pg.h:39:67: DBIXS.h: No such file or directory > In file included from Pg.h:41, > from Pg.xs:13: dbdimp.h:17: error: parse error before "dbih_drc_t" > dbdimp.h:17: warning: no semicolon at end of struct or union > dbdimp.h:22: error: parse error before "dbih_dbc_t" > dbdimp.h:22: warning: no semicolon at end of struct or union > dbdimp.h:24: warning: data definition has no type or storage class > dbdimp.h:38: error: parse error before '}' token > dbdimp.h:49: error: parse error before "size_t" > dbdimp.h:49: warning: no semicolon at end of struct or union > dbdimp.h:51: error: parse error before "is_bound" > dbdimp.h:51: warning: data definition has no type or storage class > dbdimp.h:54: error: parse error before '}' token > dbdimp.h:58: error: parse error before "dbih_stc_t" > dbdimp.h:58: warning: no semicolon at end of struct or union > dbdimp.h:60: warning: data definition has no type or storage class > . > . > . > Pg.xsi:22: error: `imp_dbh_t' undeclared (first use in this function) > Pg.xsi:23: error: `imp_sth_t' undeclared (first use in this function) > Pg.xsi:24: error: `DBIS' undeclared (first use in this function) > Pg.c:1680: error: `XSRETURN_YES' undeclared (first use in this function) > make[1]: *** [Pg.o] Error 1 > make[1]: Leaving directory `/build/tmp/perl-ext/DBI-DBD-Pg-1.32' > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Devil-linux-develop mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-develop > > -- Regards Heiko Zuerker http://www.devil-linux.org -- Regards Heiko Zuerker http://www.devil-linux.org |