Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2005, 18:31
solderboy solderboy is offline
Junior Member
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default FC3 Perfect Installation Make Errors

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:
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 -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

cpan>
Also, while install Net::DNS ...at the very end of the file, I get:
Net-DNS-0.53/contrib/check_zone
Net-DNS-0.53/contrib/README
Net-DNS-0.53/contrib/loc2earth.fcgi
Net-DNS-0.53/Changes
Net-DNS-0.53/MANIFEST
Net-DNS-0.53/TODO
Net-DNS-0.53/netdns.h
Net-DNS-0.53/README
Net-DNS-0.53/netdns.c
Net-DNS-0.53/META.yml
Net-DNS-0.53/DNS.xs
Net-DNS-0.53/Makefile.PL
Makefile.PL returned status 512
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
The other 2 perl commands [install Digest::SHA1 and install HTML::Parser]work fine showing successful makes at the end.

What should I do to correct these errors? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2005, 18:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
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:
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 -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

cpan>
You must install the Berkeley db package, and maybe also db-devel (the names might differ a little bit).
You can run
Code:
yum search db
and
Code:
yum search db-devel
to find packages.
To install a package, run
Code:
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 28th September 2005, 22:14
solderboy solderboy is offline
Junior Member
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I got Net:NS to install, but am still having the same problem with DB_File. Thanks for the help!

I did a search on yum for db and db-devel:

Code:
yum search db
yum search db-devel
Then I installed everything under the sun for Berkley DB, but I think I found the main package as db4. I also did a yum update, just for good measure.

Here is what I got:


Code:
[root@localhost ~]# perl -MCPAN -e shell
Undefined value assigned to typeglob at (eval 16) line 15, <RC> line 11.
Warning [/etc/inputrc line 11]:
  Invalid variable `mark-symlinked-directories'

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install DB_File
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 28 Sep 2005 06:01:19 GMT
Running install for module DB_File
Running make for P/PM/PMQS/DB_File-1.811.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.811.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DB_File-1.811/
DB_File-1.811/dbinfo
DB_File-1.811/patches/
DB_File-1.811/patches/5.6.0
DB_File-1.811/patches/5.005_02
DB_File-1.811/patches/5.005_03
DB_File-1.811/patches/5.004_03
DB_File-1.811/patches/5.004_05
DB_File-1.811/patches/5.004_02
DB_File-1.811/patches/5.005_01
DB_File-1.811/patches/5.004_04
DB_File-1.811/patches/5.004_01
DB_File-1.811/patches/5.005
DB_File-1.811/patches/5.004
DB_File-1.811/hints/
DB_File-1.811/hints/sco.pl
DB_File-1.811/hints/dynixptx.pl
DB_File-1.811/t/
DB_File-1.811/t/db-btree.t
DB_File-1.811/t/db-recno.t
DB_File-1.811/t/db-hash.t
DB_File-1.811/Changes
DB_File-1.811/DB_File_BS
DB_File-1.811/fallback.h
DB_File-1.811/MANIFEST
DB_File-1.811/typemap
DB_File-1.811/ppport.h
DB_File-1.811/DB_File.xs
DB_File-1.811/META.yml
DB_File-1.811/config.in
DB_File-1.811/DB_File.pm
DB_File-1.811/version.c
DB_File-1.811/fallback.xs
DB_File-1.811/README
DB_File-1.811/Makefile.PL
Removing previously used /root/.cpan/build/DB_File-1.811

  CPAN.pm: Going to build P/PM/PMQS/DB_File-1.811.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 -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

cpan>
Is there something wrong with perl: I get that error when envoking the shell
Quote:
Undefined value assigned to typeglob at (eval 16) line 15, <RC> line 11.
Warning [/etc/inputrc line 11]:
Invalid variable `mark-symlinked-directories'
Also, since I have installed and reinstalled FC3[and FC4] from beginning to [almost] end and have carefully followed each instruction in the Perfect FC3 setup, where did I miss installing this Berkely db?

Any insight is very much appreciated. I know I am doing something wrong!
Reply With Quote
  #4  
Old 2nd October 2005, 16:55
catch22 catch22 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Install Berkeley DB

It is complaining because you do not have Berkeley installed. Install db3 and db3-devel while you are at it...

You can get the rpm's from:
http://rpmfind.net//linux/RPM/redhat...11-6.i386.html

After above are installed, go back to cpan:
cpan> install DB_File
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23
Please Help me. Error ISPconfig installation firm2547 Installation/Configuration 2 22nd September 2005 18:09
Perfect Fedora Core 4 install (GPG key errors) linuxfast HOWTO-Related Questions 2 16th September 2005 19:54
perfect Debian installation 3.1 Ryanayr HOWTO-Related Questions 1 28th August 2005 10:33
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 18:46


All times are GMT +2. The time now is 08:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.