Mail-ClamAV-0.29 doesn't build

Remco Barendse mailscanner at barendse.to
Sat Nov 26 09:35:04 GMT 2011


Hi Martin!

I installed clamav from rpmforge so it will autoupdate.

Should i install clamav separately or mail-clamav?

Cheers

On Sat, 26 Nov 2011, Martin Hepworth wrote:

> install clamav independenlynot a big job and you'll get a later version too.
> 
> --
> Martin Hepworth
> Oxford, UK
> 
> 
> On 26 November 2011 03:25, Remco Barendse <mailscanner at barendse.to> wrote:
>       Hi list,
>
>       I am trying to upgrade some boxes to Scientific Linux 6.1 (a RHEL6 rebuild). When installing mailscanner and the clam/spamass packages not all the perl
>       modules will build. Most that wouldn't build (perl-Time-HiRes perl-Encode-Detect perl-Mail-SPF-Query perl-Mail-DKIM perl-Module-Build
>       perl-Net-DNS-Resolver-Programmable) i found in the rpmforge repo.
>
>       It seems however that Mail-ClamAV from install-Clam-0.96.5-SA-3.3.1 also doesn't want to build, when installing i get the output below.  I thought it
>       was missing lbzip2 but when i installed that, it still did not build.
>
>       Where am i going wrong?
>
>       Thanks!
> 
> 
>
>       /usr/bin/ld: cannot find -lbz2
>       collect2: ld returned 1 exit status
>       make[1]: *** [blib/arch/auto/Mail/ClamAV/ClamAV.so] Error 1
>       make[1]: Leaving directory `/tmp/Mail-ClamAV-0.29/_Inline/build/Mail/ClamAV'
>
>       A problem was encountered while attempting to compile and install your Inline
>       C code. The command that failed was:
>        make
>
>       The build directory was:
>       /tmp/Mail-ClamAV-0.29/_Inline/build/Mail/ClamAV
>
>       To debug the problem, cd to the build directory, and inspect the output files.
>
>        at /tmp/Mail-ClamAV-0.29/blib/lib/Mail/ClamAV.pm line 162
>       BEGIN failed--compilation aborted at /tmp/Mail-ClamAV-0.29/blib/lib/Mail/ClamAV.pm line 556.
>       Compilation failed in require.
>       BEGIN failed--compilation aborted.
>       make: *** [ClamAV.inl] Error 25
>
>       --
>       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