Dear All I am getting this error after upgrading SA 3.04 to 3.10 on Solaris 10

 

Can't locate DB_File.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl) at /usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/BayesStore/DBM.pm line 97.

 

But the spamd still run after giving this error. And when I try to install the DB_File package it gives the error

 

 

[/.cpan/build/DB_File-1.811]# perl Makefile.PL

Parsing config.in...

Looks Good.

Note (probably harmless): No library found for -ldb

Writing Makefile for DB_File

 

And

 

[/.cpan/build/DB_File-1.811]# make

gcc -c  -I/usr/local/BerkeleyDB/include  -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.811\"  -DXS_VERSION=\"1.811\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/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

*** Error code 1

make: Fatal error: Command failed for target `version.o'

 

 

Please advice what to do.

 

 

Muhammad Farooq Bhatti
Assistant Director (Systems)
COMSATS Internet Services,
COMSATS Headquarters Building 9,

Shahrah-e-Jamhuriat, G-5/2
Islamabad 44000 Pakistan
Ph.  +92-51-9208063   Ext 121
Fax. +92-51-9208770
http://www.comsats.net.pk

 

Reply via email to