Re: [AMaViS-user] amavisd-new 2.3.0 and RHEL3

This is a discussion on Re: [AMaViS-user] amavisd-new 2.3.0 and RHEL3 within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; --0B3PZ1+h5f4cFxHi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mitja Sladovic wrote: &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2005
Ralph Angenendt
 
Posts: n/a
Default Re: [AMaViS-user] amavisd-new 2.3.0 and RHEL3


--0B3PZ1+h5f4cFxHi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mitja Sladovic wrote:
> I want to install amavisd-new-2.3.0 on rhel3. After amavisd start, I got=

=20
> following error:
>=20
> Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22=20
> required--this is only version 2.20 at /usr/sbin/amavisd line 1323.
> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 1323.
>=20
> Upgrading this server to RHEL4 is currently not possible...
> What should I install - is there RHEL3 RPM for Digest::MD5 ?


Let me rephrase a mail I already sent out to several lists :)

First problem:

Digest::MD5 seems to have wandered into the perl core distribution as of
perl 5.8. perl 5.8.0 includes version 2.20 (as you already have found
out), it should work with perl-5.8.1, which includes version 2.27, but
RedHat doesn't ship that with RHEL3.

Second problem:

You might be able to build your own Digest::MD5 with a different PREFIX
setting or INSTALLDIRS setting for your machine (perl Makefile.pl
PREFIX=3D/your/path). But I have yet to find out, how to tell amavisd to
use a different @INC without touching the code. You could follow the
perl way and set INSTALLDIRS to "vendor" or "site" though.

But that leads us directly to the=20

Third problem:

(@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)

=2E../site-perl/ is far down in that path, so every module living in there
won't get included, if there's a module of the same name somewhere
earlier in that path. Same goes for vendor_perl. And that is the problem
here.

BTW: @INC in RedHat just sucks as there's no possibility to override
core modules in perl. The problem with that is upstreams @INC which is
exactly the same.

I toyed around with "PERL5LIB=3D/path/to/my/MD5" in the amavisd-new init
script, but that somehow was silently ignored.=20

If someone knows a solution around this, please feel free to share.

Ralph
--=20
Ralph Angenendt......ra@br-online.de | .."Text processing has made it possi=
ble
Bayerischer Rundfunk...HA-Multimedia | ....to right-justify any idea, even =
one
Rundfunkplatz 1........80300 M=C3=BCnchen | .which cannot be justified on a=
ny other
Tl:089.5900.16023..Fx:089.5900.16240 | ..........grounds." -- J. Finnegan, =
USC

--0B3PZ1+h5f4cFxHi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCfyuAjB6yu/0L7eURAshWAJoCCjAKFO0iUxPUyKgOiTFcZlkGHQCcCFx6
nQaOQSkomfUEvQgwzjJBEEc=
=Wqi0
-----END PGP SIGNATURE-----

--0B3PZ1+h5f4cFxHi--


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0