From: Jarkko Hietaniemi [mailto:jhi@iki.fi] > On Sun, Jul 29, 2001 at 10:38:55PM -0700, Randy J Ray wrote: > > This is against bleedperl 11467. > > > > On Red Hat-based systems, we've long configured Perl to not > natively link in > > any of the DBM-ish libraries directly, instead opting to build those > > extensions as purely-dynamic. > > > > With the current bleadperl, I get the following when building DB_File: > > > > cc -c -D_REENTRANT -Wall -fno-strict-aliasing > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -O2 -DVERSION=\"1.77\" -DXS_VERSION=\"1.77\" -fpic -I../.. DB_File.c > > DB_File.xs:129: parse error > > make[1]: *** [DB_File.o] Error 1 > > make[1]: Leaving directory `/home/users/rjray/perl/ext/DB_File' > > make: *** [lib/auto/DB_File/DB_File.so] Error 2 > > > > Line 129 reads: > > > > #if DB_VERSION_MAJOR_CFG < 2 > > > > It seems that DB_VERSION_MAJOR_CFG is set in config.h, from the line in > > config_h.SH: > > > > #define DB_VERSION_MAJOR_CFG $db_version_major /**/ > > > > It looks like the configuration process is trying to derive > this from tests > > run on the libdb.so, which isn't available in this build case. I *can*, > > You could just try wrapping the #if DB_VERSION_MAJOR_CFG ... #endif inside > #ifdef DB_VERSION_MAJOR_CFG ... #endif. > > > however, build DB_File from CPAN, so this should only be a > minor stumble. I'm > > just not certain how to address this (whether in Configure, > DB_File.xs or the > > Makefile.PL for DB_File). I'm about to release an update to DB_File that does a variation on a theme of that. Means the core & CPAN DB_File can be the identical again. Paul _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.comThread Previous