error building ClamAV module

Mark Nienberg mark at TIPPINGMAR.COM
Thu Dec 30 21:43:36 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

I have ClamAV 0.80 installed as one of my scanners and I've been trying
to install the ClamAVmodule without success.
Clam was installed from the rpms on the ClamAV site.  This is Fedora Core 1.

[root at gingham linuxupdates]# rpm -qa | grep clam
clamav-devel-0.80-2
clamav-0.80-2

Here is the relevant output from CPAN:

Removing previously used /root/.cpan/build/Mail-ClamAV-0.13

  CPAN.pm: Going to build S/SA/SABECK/Mail-ClamAV-0.13.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Mail::ClamAV
cp ClamAV.pm blib/lib/Mail/ClamAV.pm
/usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.13
blib/arch
Starting Build Prepocess Stage
Finished Build Prepocess Stage

Starting Build Parse Stage
Finished Build Parse Stage

Starting Build Glue 1 Stage
Finished Build Glue 1 Stage

Starting Build Glue 2 Stage
Finished Build Glue 2 Stage

Starting Build Glue 3 Stage
Finished Build Glue 3 Stage

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.13/_Inline/build/Ma
il/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.13 -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 -ma
rch=i386 -mcpu=i686   -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -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" gcc  -shared -L/usr/local/lib ClamAV.o  -o
blib/arch/auto
/Mail/ClamAV/ClamAV.so   -L/usr/lib -lz -lbz2 -lgmp -lcurl
-L/usr/kerberos/lib -
lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lz -L/usr
/kerberos/lib -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -
lk5crypto -lresolv -ldl -lz -lz -lpthread -lclamav
/usr/bin/ld: cannot find -lcurl
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.13/_Inline/build/Mai
l/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.13/_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.13/blib/lib/Mail/ClamAV.pm line 190
BEGIN failed--compilation aborted at
/root/.cpan/build/Mail-ClamAV-0.13/blib/lib
/Mail/ClamAV.pm line 529.
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

Any suggestions appreciated.

--
Mark Nienberg, SE
Tipping Mar + associates
1906 Shattuck Ave
Berkeley, CA 94704
http://www.tippingmar.com

------------------------ 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).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list