Thanks Daniel Problem is solved.
I downloaded from sunfreeware.com and installed it during "make test" some error occurs due to libraries which I copied to /lib and every things goes fine. Thanks again :) Best Regards, Muhammad Farooq Bhatti -----Original Message----- From: Daniel Acton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 7:26 PM To: users@spamassassin.apache.org Cc: Muhammad Farooq Bhatti Subject: Re: After upgrading to 3.1 Hi there Muhammad. When this is run: > 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 the -I option to gcc tells it to include that directory in that directory specified. So take a look in the directory '/usr/local/BerkeleyDB/include' and see if you can find the file 'db.h' there. Also look in the standard include paths (probably /usr/include and /usr/local/include on Solaris). If you can't find them here, there's your problem. I reckon you need to install the berkeley db package. I believe sunfreeware.com has this package for both Solaris 9 and Solaris 10. Cheers Daniel