[EMAIL PROTECTED] (Justin Mason) writes:
> [EMAIL PROTECTED] writes:
> > Dear Justin Mason,
> >
> > This is a computer-generated report for Mail-SpamAssassin-3.2.3
> > on perl-5.10.0 patch 32478, created automatically by CPAN-Reporter-1.06
> > and sent to the CPAN Testers mailing list.
> ...
>
> > t/basic_lint....................[49520] warn: plugin: failed to parse
> > plugin (from @INC): Can't locate Digest/SHA1.pm in @INC (@INC contains:
> > ../blib/lib @@INSTALLSITELIB@@ /usr/perl5.10.0/lib/5.10.0/i386-freebsd
> > /usr/perl5.10.0/lib/5.10.0
> > /usr/perl5.10.0/lib/site_perl/5.10.0/i386-freebsd
> > /usr/perl5.10.0/lib/site_perl/5.10.0) at
> > ../blib/lib/Mail/SpamAssassin/Plugin/Hashcash.pm line 88.
>
> Digest::SHA1 is a required module, listed in PREREQ_PM in the Makefile.PL
> file.
Digest::SHA1 is there, but only in a PERL5LIB-listed directory. Now I
see the note in the documentation:
Note that it is not possible to use the C<PERL5LIB> environment variable
to affect where SpamAssassin finds its perl modules, due to limitations
imposed by perl's "taint" security checks.
This is problematic for my test environment: I just test and never
install and depend on modules to use the PERL5LIB which is set by
CPAN.pm automatically.
Is a workaround possible? Maybe you could turn the contents of
PERL5LIB into a series of -I switches for "make test"? Or create a
file with a series of "use lib" statements, and this file is used by
all test scripts?
For now I have to disable Mail::SpamAssassin in my mail environment.
Another possible problem: from the error message it seems that @INC
contains the path '@@INSTALLSITELIB@@'.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
BBBike - route planner for cyclists in Berlin
WWW version: http://www.bbbike.de
Perl/Tk version for Unix and Windows: http://bbbike.sourceforge.net