I've seen this, caused by a CPAN install which leaves stuff like this in 
.bashrc:

export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5";
export PERL_MB_OPT="--install_base /root/perl5"; export 
PERL_MM_OPT="INSTALL_BASE=/root/perl5";
export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB";
export PATH="/root/perl5/bin:$PATH";

Workaround:

PERL_MM_OPT=''   sa-compile

Cheers,

Phil

-----Original Message-----
From: Ricky Gutierrez [mailto:xserverli...@gmail.com]
Sent: 24 August 2017 23:47
To: users@spamassassin.apache.org
Subject: sa-compile error centos 7

hi list , I have some problems compiling spamassassin 3.4.1

[root@scm ~]# sa-compile

Aug 24 22:30:40.694 [4709] info: generic: base extraction starting.
this can take a while...
Aug 24 22:30:40.695 [4709] info: generic: extracting from rules of type body_0 
100% 
[======================================================================================================================================================]
15514.37 rules/sec 00m00s DONE
100% 
[======================================================================================================================================================]
390.86 bases/sec 00m06s DONE
Aug 24 22:30:47.535 [4709] info: body_0: 1428 base strings extracted in 7 
seconds cd /tmp/.spamassassin4709y71OgLtmp reading bases_body_0.in cd 
Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
re2c -i -b -o scanner8.c scanner8.re
/usr/bin/perl Makefile.PL
PREFIX=/tmp/.spamassassin4709y71OgLtmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.016/3.004001
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
command failed: exit 25

spamassassin-3.4.1-14.el7.centos.x86_64

any help?


--
rickygm

http://gnuforever.homelinux.com
Hoople Ltd, Registered in England and Wales No. 7556595
Registered office: Plough Lane, Hereford, HR4 0LE

"Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Hoople Ltd. You should be aware that 
Hoople Ltd. monitors its email service. This e-mail and any attached files are 
confidential and intended solely for the use of the addressee. This 
communication may contain material protected by law from being passed on. If 
you are not the intended recipient and have received this e-mail in error, you 
are advised that any use, dissemination, forwarding, printing or copying of 
this e-mail is strictly prohibited. If you have received this e-mail in error 
please contact the sender immediately and destroy all copies of it."

Reply via email to