problem install perl modules
i followed the perfect debian setup und run "perl -MCPAN -e shell" in the console. After this i wanted to install:
but i always get an error:
The make package was missing.
thanks, i realized it a few times later, making another experience
That happened to me today, Debian Sarge 3.1
Strange, never happened before ... ?
Is it OK to use:
apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl ?
Yes, that should work. :)
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.
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. :)
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
Removing previously used /root/.cpan/build/DB_File-1.815
CPAN.pm: Going to build P/PM/PMQS/DB_File-1.815.tar.gz
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 -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
|All times are GMT +2. The time now is 02:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.