Originally Posted by solderboy
I am trying to install FC3 [FC4 has NFS Locking errors I just can't get rid of] and everything goes well until I get to the perl installation. I'm pretty new at this, so I apoligize for stupidy and ignorance up front. I get the two following errors:
cpan> install DB_File ..at the very end of the install I get:
Checking if your kit is complete...
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 -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.811\" -DXS_VERSION=\"1.811\" -fPIC "-I/usr/lib/perl5/5.8.5/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: 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
You must install the Berkeley db package, and maybe also db-devel (the names might differ a little bit).
You can run
yum search db-devel
to find packages.
To install a package, run
yum install <package>
BTW, maybe you can also find a package for Net::DNS, so you don't have to install it on the Perl shell.