You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by siyverts <si...@gmail.com> on 2009/04/11 13:50:03 UTC

problem installing: CPAN Mail::SpamAssassin - @@INSTALLSITELIB@@

Hi,

I get error on @INC - @@INSTALLSITELIB@@ 

Log file
====

Manifying blib/man3/Mail::SpamAssassin::Plugin::Test.3pm
Manifying blib/man3/Mail::SpamAssassin::DnsResolver.3pm
Manifying blib/man3/Mail::SpamAssassin::SubProcBackChannel.3pm
Manifying blib/man3/Mail::SpamAssassin::Plugin::RelayCountry.3pm
Manifying blib/man3/Mail::SpamAssassin::Util::RegistrarBoundaries.3pm
make[1]: Leaving directory
`/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/.cpan/build/Mail-SpamAssassin-3.2.5-kNqJvB'
  JMASON/Mail-SpamAssassin-3.2.5.tar.gz
  /usr/bin/make -- OK
Running make test
make[1]: Entering directory
`/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/.cpan/build/Mail-SpamAssassin-3.2.5-kNqJvB'
/usr/bin/perl build/mkrules --exit_on_no_src --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
no source directory found: exiting
/usr/bin/perl build/preprocessor  -Mvars -DVERSION="3.002005"
-DPREFIX="/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon"
-DDEF_RULES_DIR="/opt/zimbra/conf/spamassassin"
-DLOCAL_RULES_DIR="/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon/var/spamassassin"
-DINSTALLSITELIB="/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon/lib"
-DCONTACT_ADDRESS="the administrator of that system" -Msharpbang
-Mconditional -DPERL_BIN="/usr/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic_lint....................[26867] warn: plugin: failed to parse plugin
(from @INC): Can't locate Digest/SHA1.pm in @INC (@INC contains: ../blib/lib
@@INSTALLSITELIB@@ /usr/lib/perl5/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm line 88.
[26867] warn: BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm line 88.
[26867] warn: Compilation failed in require at (eval 51) line 1.
[26867] warn: plugin: failed to parse plugin (from @INC): Attempt to reload
Mail/SpamAssassin/Plugin/Hashcash.pm aborted.
[26867] warn: Compilation failed in require at (eval 98) line 1.
Can't locate Digest/SHA1.pm in @INC (@INC contains: ../blib/lib
@@INSTALLSITELIB@@ /usr/lib/perl5/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/Bayes.pm line 61.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/Bayes.pm
line 61.
Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 1477.
	Not found: anything =   
# Failed test 1 in t/SATest.pm at line 667
Output can be examined in: 
 Failed 1/1 subtests 
t/basic_obj_api.................ok
t/bayesdbm......................Can't locate Digest/SHA1.pm in @INC (@INC
contains: ../blib/lib @@INSTALLSITELIB@@
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/Bayes.pm line 61.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/Bayes.pm
line 61.
Compilation failed in require at
../blib/lib/Mail/SpamAssassin/PerMsgLearner.pm line 55.
BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/PerMsgLearner.pm line 55.
Compilation failed in require at ../sa-learn.raw line 67.

Called from makefile as:
=============

SA_PERL_LIBS = \
	Mail::SpamAssassin

	@for lib in $(SA_PERL_LIBS); do \
		echo -n "Compiling perl lib $$lib" ...; \
		export PERL5LIB=$(DEST_LIB_DIR); \
		INSTALLSITELIB=$(DEST_LIB_DIR); $(PERL) -I$(DEST_LIB_DIR) -MCPAN -e 'get
"Mail::SpamAssassin"; $$CPAN::Config->{makepl_arg}.="
DATADIR=/opt/zimbra/conf/spamassassin"; force ("install",
"Mail::SpamAssassin")' >> $(LOGFILE) 2>&1; \
	if [ $$? -ne 0 ]; then  echo "FAILED.";  else  echo "SUCCESS.";  fi \
	done	

Where should I look? :confused:

/Simon 
:working:


-- 
View this message in context: http://www.nabble.com/problem-installing%3A-CPAN-Mail%3A%3ASpamAssassin---%40%40INSTALLSITELIB%40%40-tp23000406p23000406.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: problem installing: CPAN Mail::SpamAssassin - @@INSTALLSITELIB@@

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Sat, 2009-04-11 at 07:23 -0700, an anonymous Nabble user wrote:
> Karsten Bräckelmann wrote:
> > 
> > Maybe you should simply install the required Perl module Digest::SHA1.

> Previously a number (30 or something) other libs are builded and tested
> successfully.
> Among these one of them is Digest::SHA1
> All installed in:
> 
> /home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon/lib

Which isn't where Perl expects them to be.

Why did you pick that majorly strange dir anyway? It really doesn't
sound like it should hold *installed* code, but its sources.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: problem installing: CPAN Mail::SpamAssassin - @@INSTALLSITELIB@@

Posted by siyverts <si...@gmail.com>.
Hi Karsten,


Karsten Bräckelmann-2 wrote:
> 
> Maybe you should simply install the required Perl module Digest::SHA1.
> 
>   guenther
> 
> 

Above error is the first I get during the build. There are a lot of error in
the build
of Mail::SpamAssassin.

Previously a number (30 or something) other libs are builded and tested
successfully.
Among these one of them is Digest::SHA1
All installed in:

/home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/zimbramon/lib

/Simon
-- 
View this message in context: http://www.nabble.com/problem-installing%3A-CPAN-Mail%3A%3ASpamAssassin---%40%40INSTALLSITELIB%40%40-tp23000406p23001669.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: problem installing: CPAN Mail::SpamAssassin - @@INSTALLSITELIB@@

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Sat, 2009-04-11 at 04:50 -0700, siyverts wrote:

> BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/Bayes.pm
> line 61.
> Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 1477.
> 	Not found: anything =   
> # Failed test 1 in t/SATest.pm at line 667
> Output can be examined in: 
>  Failed 1/1 subtests 
> t/basic_obj_api.................ok
> t/bayesdbm......................Can't locate Digest/SHA1.pm in @INC

Running on absolutely no coffee yet...

Maybe you should simply install the required Perl module Digest::SHA1.

  guenther


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: problem installing: CPAN Mail::SpamAssassin - @@INSTALLSITELIB@@

Posted by siyverts <si...@gmail.com>.
Why is the templates used here instead of the patched spamassassin (in my
view the real on)

in dir: .cpan/build/Mail-SpamAssassin-3.2.5-wP55v1

t/SATest.pm:54 
t/SATest.pm:55  $scr = $ENV{'SCRIPT'};
t/SATest.pm:56  $scr ||= "$perl_cmd ../spamassassin.raw";
t/SATest.pm:57
t/SATest.pm:58  $spamd = "$perl_cmd ../spamd/spamd.raw";
t/SATest.pm:59

and later executed at line SATest.pm:272

/Simon
-- 
View this message in context: http://www.nabble.com/problem-installing%3A-CPAN-Mail%3A%3ASpamAssassin---%40%40INSTALLSITELIB%40%40-tp23000406p23001065.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.