You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kaspars <ka...@os.lv> on 2004/12/02 17:03:32 UTC

Latest spamassassin install problem

  Hi all,

I trying to install latest spamassasin (3.0.1) on FreeBSD latest 4.x 
with perl 5.8.5 and not working:
cpan:
/usr/bin/perl spamc/configure.pl --prefix="/usr/local" 
--sysconfdir="/etc/mail/spamassassin" 
--datadir="/usr/local/share/spamassassin" --enable-ssl="no"
cd spamc
/usr/local/bin/perl version.h.pl
version.h.pl: creating version.h
spamc/configure.pl: version.h.pl: Failed to get the version from 
Mail::SpamAssassin.
Please use the --with-version= switch to specify it manually.

The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: 
version.h.pl: version.h.pl: version.h.pl: Digest::SHA1 object version 
2.01 does not match bootstrap parameter 2.10 at 
/usr/local/lib/perl5/5.8.5/mach/DynaLoader.pm line 253.
Compilation failed in require at ../lib/Mail/SpamAssassin/EvalTests.pm 
line 33.
BEGIN failed--compilation aborted at 
../lib/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at 
../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
BEGIN failed--compilation aborted at 
../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
Compilation failed in require at version.h.pl line 27.
*** Error code 2

Stop in /root/.cpan/build/Mail-SpamAssassin-3.0.1.
   /usr/bin/make  -- NOT OK
Running make test
   Can't test without successful make

thats all...
don`t know match about perl.

thanks,

Casper

Re: Latest spamassassin install problem

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Dec 02, 2004 at 06:03:32PM +0200, Kaspars wrote:
> version.h.pl: version.h.pl: version.h.pl: Digest::SHA1 object version 
> 2.01 does not match bootstrap parameter 2.10 at 
> /usr/local/lib/perl5/5.8.5/mach/DynaLoader.pm line 253.
> Compilation failed in require at ../lib/Mail/SpamAssassin/EvalTests.pm 
> line 33.

Your installation of Digest::SHA1 is screwed up.  You have 1 version of the
perl module, and another version of the compiled XS library.

This is the exact issue discussed at:

http://wiki.apache.org/spamassassin/RazorCantLocateNew

-- 
Randomly Generated Tagline:
"I cannot have an aide who will not look up. You will be forever walking
 into things."                                 - Dukhat on Babylon 5