Install-Clam error

Julian Field mailscanner at ecs.soton.ac.uk
Thu Sep 30 17:26:27 IST 2004


<x-flowed>
I'm sure this has already been answered. You need to install the bzip-devel
RPM.

At 22:50 29/09/2004, you wrote:
>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.
>
>
>I've tried running the latest release of the install-Clam-SA package by
>Julian but keep getting this error:
>
>
>
>   Starting "make" Stage
>make[1]: Entering directory
>`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'
>/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap
>/usr/lib/perl5/5.8.0/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv
>ClamAV.xsc ClamAV.c
>gcc -c  -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   -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC
>"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   ClamAV.c
>Running Mkbootstrap for Mail::ClamAV ()
>chmod 644 ClamAV.bs
>rm -f blib/arch/auto/Mail/ClamAV/ClamAV.so
>LD_RUN_PATH="/usr/lib" gcc  -shared -L/usr/local/lib ClamAV.o  -o
>blib/arch/auto/Mail/ClamAV/ClamAV.so   -L/usr/lib -lz -lbz2 -lgmp
>-lpthread -lclamav
>/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
>`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_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:
>/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV
>
>To debug the problem, cd to the build directory, and inspect the output files.
>
>  at /usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 159
>BEGIN failed--compilation aborted at
>/usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 447.
>Compilation failed in require.
>BEGIN failed--compilation aborted.
>make: *** [ClamAV.inl] Error 2
>error: Bad exit status from /var/tmp/rpm-tmp.29043 (%build)
>
>
>RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.29043 (%build)
>
>
>
>Missing file /usr/src/redhat/RPMS/noarch/perl-Mail-ClamAV-0.11-1.noarch.rpm.
>Maybe it did not build correctly?
>*
>* This Could Be A Problem. Press Ctrl-S Now!!
>
>
>I have clam already installed so I use the --noclam flag
>
><http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0409&L=mailscanner&P=R66063&I=-1>http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0409&L=mailscanner&P=R66063&I=-1
>does not help.
>
>I would greatly appreciate any help
>------------------------ MailScanner list ------------------------ To
>unsubscribe, email <jiscmail at jiscmail.ac.htm>jiscmail at jiscmail.ac.uk with
>the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ
>(<http://www.mailscanner.biz/maq/>http://www.mailscanner.biz/maq/)
>and the archives
>(<http://www.jiscmail.ac.uk/lists/mailscanner.html>http://www.jiscmail.ac.uk/lists/mailscanner.html).
>------------------------ MailScanner list ------------------------ To
>unsubscribe, email <jiscmail at jiscmail.ac.htm>jiscmail at jiscmail.ac.uk with
>the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ
>(<http://www.mailscanner.biz/maq/>http://www.mailscanner.biz/maq/)
>and the archives
>(<http://www.jiscmail.ac.uk/lists/mailscanner.html>http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list