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 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
  #2  
Old 29th October 2005, 22:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Hi,

maybe this post helps you:

http://www.howtoforge.com/forums/showthread.php?t=699
Reply With Quote
  #3  
Old 30th October 2005, 02:48
Nu2Linux Nu2Linux is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

i installed db and db-devel according to the post http://www.howtoforge.com/forums/showthread.php?t=699

i then ran the db install again and got this....
==========================================
cpan> install DB_File
Running install for module DB_File
Running make for P/PM/PMQS/DB_File-1.812.tar.gz
Is already unwrapped into directory /root/.cpan/build/DB_File-1.812
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
==============================================

any ideas???

thanks,

ray
Reply With Quote
  #4  
Old 30th October 2005, 11:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Have you tried to install DB_File from your linux distribution with e.g. rpm or apt instaed of using cpan? If you have apt installed, you can find the package by executing the command:

apt-cache search DB_File
Reply With Quote
  #5  
Old 31st October 2005, 00:40
Nu2Linux Nu2Linux is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by till
Have you tried to install DB_File from your linux distribution with e.g. rpm or apt instaed of using cpan? If you have apt installed, you can find the package by executing the command:

apt-cache search DB_File
here's what i get when i run apt
================================================== ===========
[root@localhost DB_File-1.812]# apt-cache search DB_File
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
perl - The Perl programming language.
[root@localhost DB_File-1.812]#
================================================== ===============
here's what i get when i try to run a db_file rpm (i'm typing this from notes)
================================================== =
perl-db_file-1.804-88.i386.rpm

computing package dependencies.....
The following package could not be installed on your system. installation cannot continue until it is installed. unlocatable package - libdb-4.0.so. required by - (perl-DB_File','1.804',88)
================================================== =====
here's what i get when i try to install the package that contains libdb-4.0.so.
================================================== =====
db4-4.0.14.i386.rpm

package already installed. a newer version of "db4" is currently installed.
================================================== ======
i tried yum install perl-db_file
================================================== ==
[root@localhost DB_File-1.812]# yum install perl-db_file
Setting up Install Process
Setting up repositories
http://klid.dk/homeftp/fedora/linux/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 403: Date: Sun, 30 Oct 2005 23:34:11 GMT
Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3.4.92mdk) PHP/4.3.3
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
http://linux.admin.uillinois.edu/pub...ta/repomd.xml: [Errno 4] IOError: HTTP Error 403: Date: Sun, 30 Oct 2005 23:34:13 GMT
Server: Apache/2.0.46 (Red Hat)
Content-Length: 353
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://mirrors.bevc.net/fedora/4/i38...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Sun, 30 Oct 2005 23:34:13 GMT
Server: Apache/2.0.46 (Red Hat)
Content-Length: 234
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 346 kB 00:00
updates-re: ################################################## 1006/1006
Added 43 new packages, deleted 26 old in 20.27 seconds
Parsing package install arguments
No Match for argument: perl-db_file
Nothing to do
================================================== =
i don't know what else to do here to finish the installation according to the set up instructions at http://www.falkotimme.com/howtos/per...re_4/index.php.

please help.

thanks,
ray
Reply With Quote
  #6  
Old 31st October 2005, 08:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Nu2Linux
here's what i get when i run apt
================================================== ===========
[root@localhost DB_File-1.812]# apt-cache search DB_File
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
perl - The Perl programming language.
That's because you are in a directory that has been deleted in the meantime. Nothing to worry.
You are on Mandriva? Have you tried urpmi?
I think with
Code:
urpmi -y <search term>
you can search for packages, and with
Code:
urpmi <package name>
you can install a package.
__________________
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
  #7  
Old 13th April 2012, 22:06
fanboy fanboy is offline
Junior Member
 
Join Date: Apr 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Nu2Linux View Post
i installed db and db-devel according to the post http://www.howtoforge.com/forums/showthread.php?t=699

i then ran the db install again and got this....
==========================================
cpan> install DB_File
Running install for module DB_File
Running make for P/PM/PMQS/DB_File-1.812.tar.gz
Is already unwrapped into directory /root/.cpan/build/DB_File-1.812
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
==============================================

any ideas???

thanks,

ray
If anyone else gets this error, all you have to do is to "clean" the package before you try to install it again

clean DB_File
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
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55
Parse error after install pebcac Installation/Configuration 6 23rd September 2005 02:54
Install HELP:: ERROR: Could not create aps.tar.gz palkat Installation/Configuration 3 29th August 2005 09:35
Error trying to install - on RH9 bgarlock Installation/Configuration 7 17th August 2005 10:43


All times are GMT +2. The time now is 20:28.


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