Fedora 10 packaging help required

Randal, Phil prandal at herefordshire.gov.uk
Mon Feb 2 09:30:25 GMT 2009


You'll need this patch to be able to use Mail::Clamav with clamav 0.94
and later.

http://rt.cpan.org/Public/Bug/Display.html?id=39301

Better to start using clamd instead:

http://wiki.mailscanner.info/doku.php?id=documentation:anti_virus:clamav
:switch_to_rpm_clamd 

Cheers,

Phil

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Anthony
Cartmell
Sent: 02 February 2009 09:11
To: MailScanner discussion
Subject: Re: Fedora 10 packaging help required

Jules,

> The problem is that the site_perl directory is now under
> /usr/local/lib/perl5 and not /usr/lib/perl5. But if you specify a 
> "PREFIX" in the call to Makefile.PL to generate the Makefile, like I 
> always have done, then the perl-site-specific directories are set 
> wrong, it leaves them under /usr/lib/perl5.

FWIW I have successfully installed both mailscanner and
spamassassin/clamav from your tarballs on FC10 32-bit (at least
MailScanner --lint is happy). But I haven't managed on FC10 64-bit yet:

all goes smoothly with MailScanner, but the Mail-ClamAV fails to
install.  
Oddly everything els
e compiles and installs fine, it's just that one module: to my
inexperienced eye it seems to be installing the compiled module into
/tmp/Mail-ClamAV-022/, which presumably then gets deleted.

~~~~~~~~~~
Installing /tmp/Mail-ClamAV-0.22/blib/arch/auto/Mail/ClamAV/ClamAV.bs
Writing /tmp/Mail-ClamAV-0.22/blib/arch/auto/Mail/ClamAV/.packlist
make[1]: Leaving directory
`/tmp/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV'
~~~~~~~~~~

The Mail-ClamAV test all fail, and MailScanner --lint asks where
clamavmodule is (it isn't installed anywhere).

Don't worry too much about this, as I'm going to investigate clamd now,
but thought it might be of interest given your packaging problems...

Shout if you'd like me to run any additional tests on my FC10 x86_64
machine for diagnosis purposes.

Cheers!

Anthony
--
www.fonant.com - Quality web sites
--
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! 


More information about the MailScanner mailing list