You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ronan <r....@qub.ac.uk> on 2004/10/12 14:33:21 UTC
compilation error
the following error is being thrown at me.
I have tried adding the switch "--with-version=3" and also with 3.0 and
3.0.0 but still doesnt work.
Anyclues?
Im compiling then gonna upgrade over v2.63.
thanks
Ronan
# make
cp spamd/spamd blib/script/spamd
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)"
blib/script/spamd
cp sa-learn blib/script/sa-learn
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)"
blib/script/sa-learn
/usr/local/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: Can't locate MIME/Base64.pm in @INC (@INC
contains: ../lib /usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
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.
make: *** [spamc/Makefile] Error 2
#
--
Regards
Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN
Re: compilation error
Posted by Bob Apthorpe <ap...@cynistar.net>.
Hi,
On Tue, 12 Oct 2004 13:33:21 +0100 Ronan <r....@qub.ac.uk> wrote:
> the following error is being thrown at me.
> I have tried adding the switch "--with-version=3" and also with 3.0 and
> 3.0.0 but still doesnt work.
>
> Anyclues?
...
> 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
...
Install MIME::Base64
-- Bob
Re: compilation error
Posted by Matt Kettler <mk...@evi-inc.com>.
At 08:33 AM 10/12/2004, Ronan wrote:
>the following error is being thrown at me.
>I have tried adding the switch "--with-version=3" and also with 3.0 and
>3.0.0 but still doesnt work.
>
>Anyclues?
SA 3.0 appears to require the Mime::Base64 perl module. This module was
optional in 2.63 , but it seems to be required now. Install that and you
should be fine.
Why did you try passing --with-version? All it does is change the version
number that SA claims to be, which you really shouldn't need or want to do.
>Im compiling then gonna upgrade over v2.63.
>
>thanks
>Ronan
> version.h.pl: version.h.pl: version.h.pl: Can't locate MIME/Base64.pm in
> @INC (@INC contains: ../lib /usr/local/lib/perl5/5.6.1/sun4-solaris
> /usr/local/lib/perl5/5.6.1
> /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
> ../lib/Mail/SpamAssassin/Message/Node.pm line 43.