I eventually found the reason for this behaviour after I noticed that root 
could start it okay, but the unpriv user spamd couldn't...:

machine:~ # ls -la /usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin
drwx------    2 root     root          942 Nov  7 11:45 .

Yeah, d'oh, no wonder the modules therein cannot be loaded...!   
Only thing is, what triggered this evil bug ?  Is it my distribution, my 
installation method, or an obscure SpamAssassin bug ??

I'll try to find out which step exactly triggers this.  In the meantime, I 
get bitten by some very lame dependancies which invariably lead to 
CPAN.pm attempting to install perl 5.8 (I have 5.6).  I don't understand 
this. In the first place it doesn't give me any choice to skip the 
install of perl 5.8 as it does with all other packages, secondly the 
Spamassassin faq says perl 5.8 is to be avoided, right ?
In any case, no matter what, I'll not allow such a perl upgrade on a 
production system cause I can not afford to break things.

Actually, this is what happens. I ask for File::Basename and it 
automatically assumes that I want to upgrade my perl version.  WTF ?!? 
Is this behaviour really as it should be ?

cpan> install File::Basename
Running make for N/NW/NWCLARK/perl-5.8.2.tar.gz
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.2.tar.gz

Regards,
Maarten

On Thursday 06 November 2003 15:05, Maarten J H van den Berg wrote:
> Hi list,
>
> I've tried to install SpamAssassin 2.60 in vain on several boxes, the
> error that always happens is this (when trying to start spamd) :
>
> Can't locate Mail/SpamAssassin/Conf.pm in @INC (@INC contains: ../lib
> /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/5.6.0/i586-linux
> /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i586-linux
> /usr/lib/perl5/site_perl) at
> /usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin.pm line 60.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin.pm line 60.
> Compilation failed in require at /usr/bin/spamd line 33.
> BEGIN failed--compilation aborted at /usr/bin/spamd line 33.
> startproc:  exit status of parent of /usr/bin/spamd: 2
>
> However, the file
> /usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm does exist,
> and looks fine.  What's wrong / what am I overlooking...?
>
> The boxes are SuSE 7.2 and I installed all with the CPAN module.
>
> Thanks in advance,
> Maarten

-- 
This email has been scanned for the presence of computer viruses.

Maarten J. H. van den Berg   ~~//~~   network administrator
VBVB  -  Amsterdam  -  The Netherlands  -  http://vbvb.nl  
T +31204233288   F +31204233286   G +31651994273


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to