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*,
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).
Randy
Thread Next