Shoval,

The errors from your Mail::ClamAV installation indicate that you are
missing the package bzip2-devel. You should be able to find the RPM for
it on your local Redhat/Fedora mirror.

You can check if this is the case:
rpm -q bzip2-devel

After bzip2-devel is installed, Mail::ClamAV should build without a
problem

Regards
Geoff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shoval
Tomer
Sent: Thursday, 13 May 2004 8:23 AM
To: [EMAIL PROTECTED]
Subject: [Clamav-users] Mail::ClamAV


I can't seem to install the ClamAV perl module.
I'm running fedora core 1 and the install Mail::ClamAV command gives thi
error:
 
  Starting "make" Stage
make[1]: Entering directory
`/root/.cpan/build/Mail-ClamAV-0.08/_Inline/build/Mail/ClamAV'
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv
ClamAV.xsc ClamAV.c
gcc -c  -I/root/.cpan/build/Mail-ClamAV-0.08 -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 -g -pipe -march=i386 -mcpu=i686
-DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC
"-I/usr/lib/perl5/5.8.3/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/local/lib:/usr/lib" gcc  -shared -L/usr/local/lib
ClamAV.o  -o blib/arch/auto/Mail/ClamAV/ClamAV.so   -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
`/root/.cpan/build/Mail-ClamAV-0.08/_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:
/root/.cpan/build/Mail-ClamAV-0.08/_Inline/build/Mail/ClamAV
 
To debug the problem, cd to the build directory, and inspect the output
files.
 
 at /root/.cpan/build/Mail-ClamAV-0.08/blib/lib/Mail/ClamAV.pm line 150
BEGIN failed--compilation aborted at
/root/.cpan/build/Mail-ClamAV-0.08/blib/lib/Mail/ClamAV.pm line 429.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
 
please help.


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to