#1  
Old 21st March 2006, 13:20
Cirox Cirox is offline
Member
 
Join Date: Mar 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem install perl modules

Hi,

i followed the perfect debian setup und run "perl -MCPAN -e shell" in the console. After this i wanted to install:

install HTML::Parser
install DB_File
install Net::DNS

but i always get an error:

Code:
Checking if your kit is complete...
Looks good
Writing Makefile for Net::IP
    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running make for O/OL/OLAF/Net-DNS-0.57.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Net-DNS-0.57

  CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.57.tar.gz

    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
or

Code:
cpan>   install HTML::Parser
Running install for module HTML::Parser
Running make for G/GA/GAAS/HTML-Parser-3.50.tar.gz
  Is already unwrapped into directory /root/.cpan/build/HTML-Parser-3.50
  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
I searched the forum and installed this way:

Code:
apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl
But what was the problem ?

greetings cirox

Last edited by Cirox; 21st March 2006 at 13:26.
Reply With Quote
Sponsored Links
  #2  
Old 21st March 2006, 18:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

The make package was missing.
__________________
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 21st March 2006, 19:57
Cirox Cirox is offline
Member
 
Join Date: Mar 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

thanks, i realized it a few times later, making another experience

http://www.howtoforge.com/forums/showthread.php?t=3257

thx cirox
Reply With Quote
  #4  
Old 28th May 2006, 01:30
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 416
Thanks: 13
Thanked 5 Times in 5 Posts
Default

That happened to me today, Debian Sarge 3.1

Strange, never happened before ... ?
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #5  
Old 28th May 2006, 11:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Originally Posted by nenad
Strange, never happened before ... ?
Maybe the package in cpan was broken broken for a short time.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Williamsl (8th July 2014)
  #6  
Old 29th May 2006, 00:25
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 416
Thanks: 13
Thanked 5 Times in 5 Posts
Default

Is it OK to use:

apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl ?
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #7  
Old 1st February 2007, 23:13
neutrogenial neutrogenial is offline
Junior Member
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
I had the same problem on a redhat 7.2. Resolved with a simple
Code:
rpm -iv --replacepkgs perl-5.8.3-16.i386.rpm
Reply With Quote
  #8  
Old 2nd February 2007, 10:20
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

As a general comment: I had loads of problems mixing CPAN and Ubuntu/Debian packages for Perl modules. Although there are people on the Internet succesfully mixing the two, the general advise is to stick to the modules within a distribution, e.g.
Code:
apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl
Often the problem is to find the right package, as the naming sometimes differs and you must try really hard to find the package/module you're looking for.

I use CPAN only as a last resort, if a tool needs a specific (new) version of a module. But somehow later on I always end up re-installing a server.

My 2ct: Stick to the packaged modules as much as you can.
Reply With Quote
  #9  
Old 15th May 2007, 14:06
bengoodwin bengoodwin is offline
Junior Member
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem installing perl mod

Hi am a newbie to this, just getting this error when installing perl DB mod. Thanks in advance for any help.....


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

CPAN.pm: Going to build P/PM/PMQS/DB_File-1.815.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 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.815\" -DXS_VERSION=\"1.815\" -fPIC "-I/usr/lib/perl5/5.8.8/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
Reply With Quote
  #10  
Old 16th May 2007, 17:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Which distribution do you use?
Instead of installing DB_File manually, you could install the package that comes with your distribution.
__________________
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
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
Fedora Core 4 and hp Printer install problem. slopoke_iii Desktop Operation 3 5th May 2007 23:27
New Install perl error!! cybereatl Installation/Configuration 5 26th February 2006 18:06
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04
MySQL problem on install badben Installation/Configuration 12 20th December 2005 13:59
Installing Perl modules fernando Installation/Configuration 1 10th May 2005 21:16


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


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