install clamav independenly<div>not a big job and you'll get a later version too.</div><div><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 26 November 2011 03:25, Remco Barendse <span dir="ltr"><<a href="mailto:mailscanner@barendse.to">mailscanner@barendse.to</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi list,<br>
<br>
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-<u></u>Programmable) i found in the rpmforge repo.<br>
<br>
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.<br>
<br>
Where am i going wrong?<br>
<br>
Thanks!<br>
<br>
<br>
<br>
/usr/bin/ld: cannot find -lbz2<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [blib/arch/auto/Mail/ClamAV/<u></u>ClamAV.so] Error 1<br>
make[1]: Leaving directory `/tmp/Mail-ClamAV-0.29/_<u></u>Inline/build/Mail/ClamAV'<br>
<br>
A problem was encountered while attempting to compile and install your Inline<br>
C code. The command that failed was:<br>
make<br>
<br>
The build directory was:<br>
/tmp/Mail-ClamAV-0.29/_Inline/<u></u>build/Mail/ClamAV<br>
<br>
To debug the problem, cd to the build directory, and inspect the output files.<br>
<br>
at /tmp/Mail-ClamAV-0.29/blib/<u></u>lib/Mail/ClamAV.pm line 162<br>
BEGIN failed--compilation aborted at /tmp/Mail-ClamAV-0.29/blib/<u></u>lib/Mail/ClamAV.pm line 556.<br>
Compilation failed in require.<br>
BEGIN failed--compilation aborted.<br>
make: *** [ClamAV.inl] Error 25<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<u></u>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<u></u>mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/<u></u>posting</a><br>
<br>
Support MailScanner development - buy the book off the website! </font></span></blockquote></div><br></div>