ClamAV.pm won't "make"

Thad A. Thompson thad at THADCO.COM
Thu Apr 29 22:52:45 IST 2004


Ran the instructions listed on:
http://www.sng.ecs.soton.ac.uk/mailscanner/install/ClamAVModule.shtml

 

Things go bad with:

 

cpan> install Mail::ClamAV

 

**********************Begin Output**********************

Starting Build Compile Stage

  Starting "perl Makefile.PL" Stage

Writing Makefile for Mail::ClamAV

  Finished "perl Makefile.PL" Stage

 

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/lib:/usr/local/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

 

**********************End Output**********************

 

Fedora Core 1 x86.

Installed Binary RPM version of ClamAV.

Have "Yum"med All Packages.

 

No clue how to proceed.

 

Thanks!

 

Thad

 


-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at    http://www.mailscanner.biz/maq/     and the archives
at    http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040429/914095ef/attachment.html


More information about the MailScanner mailing list