Perl appears to be missing DB_File support

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Perl appears to be missing DB_File support

Postby Dweeber » 01. October 2013 19:52

I have an app that is looking for DB_file and perl appears to not have it.

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?

Ref:
Code: Select all
# perl Makefile.PL
Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -ldb
Writing Makefile for DB_File
Writing MYMETA.yml and MYMETA.json

# make
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
Dweeber
 
Posts: 7
Joined: 06. December 2011 22:27
Operating System: Solaris 10 Sparc & x86

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 16 guests