I have downloaded the file for it, but when I attempt to install it I get errors.
Do I need to have the development code loaded to do this?
- Code: Select all
# perl Makefile.PL
Checking if your kit is complete...
Warning (mostly harmless): No library found for -ldb
Writing Makefile for DB_File
Writing MYMETA.yml and MYMETA.json
cp DB_File.pm blib/lib/DB_File.pm
AutoSplitting blib/lib/DB_File.pm (blib/lib/auto/DB_File)
gcc -c -I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.829\" -DXS_VERSION=\"1.829\" -fPIC "-I/opt/lampp/lib/perl5/5.16.3/i686-linux-thread-multi/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c
version.c:30:16: error: db.h: No such file or directory
make: *** [version.o] Error 1