Jim wrote:

> Heute (11.02.2006/00:40 Uhr) schrieb Gary V ([EMAIL PROTECTED]),

>> and the @INC: section from:

>> /usr/bin/perl -V

>  @INC:
>     /usr/lib/perl5/5.8.1/i586-linux-thread-multi
>     /usr/lib/perl5/5.8.1
>     /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.1
>     /usr/lib/perl5/site_perl
>     /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.1
>     /usr/lib/perl5/vendor_perl

>> which perl

> /usr/local/bin/perl

>> perl -v

> This is perl, v5.8.8 built for i686-linux
> (and so on)

Exactly what I thought. So you have two versions of Perl. One
installed with the system, and a couple versions installed from
source, one on top of the other. It's not the end of the world.
You need to be explicit if you want to use your old version.
Amavisd-new is using using Perl 5.8.1 because we tell it to;
the first line in amavisd is:

#!/usr/bin/perl -T

If you want to install a CPAN module in the old version, be explicit
and start cpan with that version of Perl:

/usr/bin/perl -MCPAN -e shell

So, you can solve your immediate problem in one of two ways. You can
install (or force install) Net::Server 0.90 from CPAN into your 5.8.1
version of Perl by explicitly using that version.

Or, you could have amavisd-new use Perl 5.8.8 by changing the first
line in amavisd:

#!/usr/local/bin/perl -T

but if you do this, you will most likely first need to install all the
Perl modules from CPAN that amavisd-new needs, or you will get:

sfa:~# amavisd-new debug
ERROR: MISSING REQUIRED BASIC MODULES:
  IO::Wrap
  IO::Stringy
  Unix::Syslog
  Mail::Field
  Mail::Address
  Mail::Header
  Mail::Internet
  Compress::Zlib
  MIME::Words
  MIME::Head
  MIME::Body
  MIME::Entity
  MIME::Parser
  MIME::Decoder
  MIME::Decoder::Base64
  MIME::Decoder::Binary
  MIME::Decoder::QuotedPrint
  MIME::Decoder::NBit
  MIME::Decoder::UU
  MIME::Decoder::Gzip64
  Net::Server
BEGIN failed--compilation aborted at /usr/sbin/amavisd-new line 148.

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to