Error loading some perl modules on spamassassin

Julian Field MailScanner at ecs.soton.ac.uk
Sat Jun 24 01:02:30 IST 2006


There isn't any "registration" system for modules, you just have to  
make sure the relevant *.pm files appear in the @INC path somewhere.  
Do a "perl -V" and it will show you the @INC path so you know where  
to look.
"perl -v" prints the version number and a little info, "perl -V"  
prints a whole lot more info.

On Sat24 Jun 06, at 00:29, Rafael Vallejo wrote:

> Julian and Logan,
>
>
> Thanks for the respnse unfortunatelly I can not just simply use  
> CPAN or any script like yours Julian because I'm embeeding this on  
> a system that does not have a shell prompt son on the target system  
> I can not install things this way,m on a normal Linux system I  
> successfully installed spamassassin, nut I have to copy to this  
> device spamassassin file by file manually, so something is missing  
> there and need to identify it.
>
> Julian you made an installation program, so I guess you know how to  
> make it low level what does it need to register copy or what ever  
> those moules so it knows they exists.
>
> Hope to hear from you soon
>
> Rafael
>
> Julian Field escribió:
>
>> If you install SpamAssassin from my easy-to-install ClamAV+SA  
>> package  available from www.mailscanner.info (the downloads page)  
>> then it will  take care of installing all the required modules for  
>> you, as well as  lots of setup tweaks you need to do to make it  
>> all work properly.
>>
>> On Fri23 Jun 06, at 17:32, Rafael Vallejo wrote:
>>
>>> Hello list.
>>>
>>> I have a problem with spamassassin and is that some perl modules  
>>> I  got messages like this
>>>
>>> [20075] dbg: diag: module not installed: LWP::UserAgent  
>>> ('require'  failed)
>>>
>>> UserAgent is a module among others I want to use, I installed by   
>>> hand spamassasin and have no other choice, LWP and all the  
>>> modules  it need is there in where it is supposed to be /usr/lib/ 
>>> perl5/ vendor_perl/5.8.1/LWP, but spamassasin does not locate it  
>>> my guess  is that perl or spamassassin does not get the path for  
>>> LWP for some  reason.
>>>
>>> Is there any file in where Perl and/or spamassasin look to know   
>>> where modules are loaded?
>>>
>>> Regards
>>>
>>> -- 
>>> Rafael
>>> -- 
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>
>>
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the MailScanner mailing list