View Single Post
  #1  
Old 29th October 2005, 21:40
Nu2Linux Nu2Linux is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default cpan> install DB_File make error

I need some more help. i've posted all the info, hope that's ok. the problem shows up in the last couple of lines. don't know how to fix this.
================================================== ===
cpan> install DB_File
Running install for module DB_File
Running make for P/PM/PMQS/DB_File-1.812.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/DB_File-1.812.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DB_File-1.812/
DB_File-1.812/dbinfo
DB_File-1.812/patches/
DB_File-1.812/patches/5.6.0
DB_File-1.812/patches/5.005_02
DB_File-1.812/patches/5.005_03
DB_File-1.812/patches/5.004_03
DB_File-1.812/patches/5.004_05
DB_File-1.812/patches/5.004_02
DB_File-1.812/patches/5.005_01
DB_File-1.812/patches/5.004_04
DB_File-1.812/patches/5.004_01
DB_File-1.812/patches/5.005
DB_File-1.812/patches/5.004
DB_File-1.812/hints/
DB_File-1.812/hints/sco.pl
DB_File-1.812/hints/dynixptx.pl
DB_File-1.812/t/
DB_File-1.812/t/db-btree.t
DB_File-1.812/t/db-recno.t
DB_File-1.812/t/db-hash.t
DB_File-1.812/Changes
DB_File-1.812/DB_File_BS
DB_File-1.812/fallback.h
DB_File-1.812/MANIFEST
DB_File-1.812/typemap
DB_File-1.812/ppport.h
DB_File-1.812/DB_File.xs
DB_File-1.812/META.yml
DB_File-1.812/config.in
DB_File-1.812/DB_File.pm
DB_File-1.812/version.c
DB_File-1.812/fallback.xs
DB_File-1.812/README
DB_File-1.812/Makefile.PL
Removing previously used /root/.cpan/build/DB_File-1.812

CPAN.pm: Going to build P/PM/PMQS/DB_File-1.812.tar.gz

Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ldb
Writing Makefile for DB_File
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 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DVERSION=\"1.812\" -DXS_VERSION=\"1.812\" -fPIC "-I/usr/lib/perl5/5.8.6/i386-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
/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
================================================== ========

thanks again for the help,

ray
Reply With Quote
Sponsored Links