I am trying to install Berkeley DB module through CPAN, but I come across the following error:
cc -c -I/usr/local/BerkeleyDB/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686 -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fPIC "-I/usr/lib/perl5/5.8.6/i486-linux/CORE" BerkeleyDB.c BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_compact': BerkeleyDB.xs:3565: parse error before `end_key' BerkeleyDB.c:5209: `end_key' undeclared (first use in this function) BerkeleyDB.c:5209: (Each undeclared identifier is reported only once BerkeleyDB.c:5209: for each function it appears in.) make: *** [BerkeleyDB.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible I do have Berkeley DB v4.4.20. I even tried to manually install it by configuring "config.in" to ensure that db.h and libdb.a are included in LIB and INCLUDE. However, I still get the same error message. Any help is much appreciated.