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.

Reply via email to