Install-Clam error

Terran Wright wright at CYBERVALE.COM
Wed Sep 29 22:50:10 IST 2004


<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hey Guys I've been battling with this one for a
while and have posted before with no replies, I still don't know where to
turn.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've tried running the latest release of the
install-Clam-SA package by Julian but keep getting this error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; Starting "make" Stage<BR>make[1]: Entering
directory
`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'<BR>/usr/bin/perl
/usr/lib/perl5/5.8.0/ExtUtils/xsubpp&nbsp; -typemap
/usr/lib/perl5/5.8.0/ExtUtils/typemap&nbsp;&nbsp; ClamAV.xs &gt; ClamAV.xsc
&amp;&amp; mv ClamAV.xsc ClamAV.c<BR>gcc -c&nbsp;
-I/usr/src/redhat/BUILD/Mail-ClamAV-0.11 -I/usr/include -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g&nbsp;&nbsp; -DVERSION=\"0.11\"
-DXS_VERSION=\"0.11\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"&nbsp;&nbsp;
ClamAV.c<BR>Running Mkbootstrap for Mail::ClamAV ()<BR>chmod 644 ClamAV.bs<BR>rm
-f blib/arch/auto/Mail/ClamAV/ClamAV.so<BR>LD_RUN_PATH="/usr/lib" gcc&nbsp;
-shared -L/usr/local/lib ClamAV.o&nbsp; -o
blib/arch/auto/Mail/ClamAV/ClamAV.so&nbsp;&nbsp; -L/usr/lib -lz -lbz2 -lgmp
-lpthread -lclamav<BR>/usr/bin/ld: cannot find -lbz2<BR>collect2: ld returned 1
exit status<BR>make[1]: *** [blib/arch/auto/Mail/ClamAV/ClamAV.so] Error
1<BR>make[1]: Leaving directory
`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>A problem was encountered while attempting to
compile and install your Inline<BR>C code. The command that failed
was:<BR>&nbsp; make</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The build directory
was:<BR>/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>To debug the problem, cd to the build directory,
and inspect the output files.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;at
/usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 159<BR>BEGIN
failed--compilation aborted at
/usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line
447.<BR>Compilation failed in require.<BR>BEGIN failed--compilation
aborted.<BR>make: *** [ClamAV.inl] Error 2<BR>error: Bad exit status from
/var/tmp/rpm-tmp.29043 (%build)</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>RPM build errors:<BR>&nbsp;&nbsp;&nbsp; Bad exit status from
/var/tmp/rpm-tmp.29043 (%build)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Missing file
/usr/src/redhat/RPMS/noarch/perl-Mail-ClamAV-0.11-1.noarch.rpm.<BR>Maybe it did
not build correctly?<BR>*<BR>* This Could Be A Problem. Press Ctrl-S
Now!!<BR></FONT></DIV><FONT face=Arial size=2>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT><FONT face=Arial size=2>I have clam already installed so I use the
--noclam flag</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0409&amp;L=mailscanner&amp;P=R66063&amp;I=-1">http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0409&amp;L=mailscanner&amp;P=R66063&amp;I=-1</A>&nbsp;does
not help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would greatly appreciate any
help</FONT></DIV></BODY></HTML>
------------------------ MailScanner list ------------------------
To unsubscribe, email <a href="jiscmail at jiscmail.ac.uk">jiscmail at jiscmail.ac.uk</a>
with the words:<br>
'leave mailscanner' in the body of the email.<br>
Before posting, read the MAQ (<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a>)<br>and
the archives (<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a>).
------------------------ MailScanner list ------------------------
To unsubscribe, email <a href="jiscmail at jiscmail.ac.uk">jiscmail at jiscmail.ac.uk</a>
with the words:<br>
'leave mailscanner' in the body of the email.<br>
Before posting, read the MAQ (<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a>)<br>and
the archives (<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a>).
</x-html>



More information about the MailScanner mailing list