Spamassassin install prob on freebsd 5.1

wd4u

Verified User
Joined
Aug 12, 2004
Messages
13
Location
/usr/local/directadmin/
hello i have install prob on freebsd 5.1 for Spamassassin can you me help ?
Sorry for me bad english
error mess =

The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate MIME/Base64.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.6.1/mach /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach /usr/local/lib/perl5/5.6.1 .) at ../lib/Mail/SpamAssassin/Message/Node.pm line 43.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/Message/Node.pm line 43.
Compilation failed in require at ../lib/Mail/SpamAssassin/Message.pm line 49.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/Message.pm line 49.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 75.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 75.
Compilation failed in require at version.h.pl line 27.
*** Error code 2

Stop in /usr/local/directadmin/scripts/packages/Mail-SpamAssassin-3.0.1.
/usr/bin/perl spamc/configure.pl --prefix="/usr" --sysconfdir="/etc/mail/spamassassin" --datadir="/usr/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: Can't locate MIME/Base64.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.6.1/mach /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach /usr/local/lib/perl5/5.6.1 .) at ../lib/Mail/SpamAssassin/Message/Node.pm line 43.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/Message/Node.pm line 43.
Compilation failed in require at ../lib/Mail/SpamAssassin/Message.pm line 49.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/Message.pm line 49.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 75.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 75.
Compilation failed in require at version.h.pl line 27.
*** Error code 2

Stop in /usr/local/directadmin/scripts/packages/Mail-SpamAssassin-3.0.1.
 
same here

Same here;
I have a fresh install of DirectAdmin done by the DA-support dept. on FreeBSD 4.11.
When I try to install SpamAssassin for my webserver by following the knowledgebase article 'How to enable SpamAssassin on your server', I get this very same Error while running the install script.

Doesn't FreeBSD have a working version of SpamAssassin in /usr/ports which is compatible with the Exim installed with DirectAdmin ?

Regards,

Jorix

Webmaster SCARB
www.alfaclub.nl
 
Jorix yes I use spamassassin from ports.

I cant remember offhand if it works right after install or if it needs configuring to work with DA.

I will have a look later if I get a chance.
 
@Chrysalis: Thanks for your reply. I just got it working like a charm. I tried to install the mail/p5-Mail-SpamAssassin port and it failed, so I did a 'make deinstall clean'. After that I tried to follow the knowledge base article once more and this time it worked without errors. Perhaps there were some missing dependencies which weren't checked by the script from DA, or there must have been some remaining install-slack from another package.

Anyway, it works right now ;)

Greetz,
Jorix
 
Back
Top