LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2007, 10:58 AM   #1
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
Mail::ClamAV error on install on CentOS 4.4


Hi all,

i'm trying to install Mail::ClamAV perl module which is needed by MailScanner. i'm trying to do all of this on CentOS final release 4.4. here is what i'm doing:
Code:
perl -MCPAN -e shell
install Mail::ClamA
and it's coming back with this output:
Code:
cpan> install Mail::ClamAV
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 15 Feb 2007 10:08:42 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://cpan.llarian.net/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
  ftp://cpan.llarian.net/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Mon, 19 Feb 2007 11:09:10 GMT

  There's a new CPAN.pm version (v1.8802) available!
  [Current version is v1.7601]
  You might want to try
    install Bundle::CPAN
    reload cpan
  without quitting the current session. It should be a seamless upgrade
  while we are running...

Fetching with LWP:
  ftp://cpan.llarian.net/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Mail::ClamAV
Running make for S/SA/SABECK/Mail-ClamAV-0.17.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/S/SA/SABECK/Mail-ClamAV-0.17.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Mail-ClamAV-0.17/
Mail-ClamAV-0.17/Inline/
Mail-ClamAV-0.17/Inline/MakeMaker.pm
Mail-ClamAV-0.17/Makefile.PL
Mail-ClamAV-0.17/README
Mail-ClamAV-0.17/t/
Mail-ClamAV-0.17/t/Mail-ClamAV.t
Mail-ClamAV-0.17/t/eicarcom2.zip
Mail-ClamAV-0.17/t/virus.eml
Mail-ClamAV-0.17/config.pl
Mail-ClamAV-0.17/MANIFEST
Mail-ClamAV-0.17/INSTALL
Mail-ClamAV-0.17/ClamAV.pm
Mail-ClamAV-0.17/META.yml
Mail-ClamAV-0.17/Changes
Removing previously used /root/.cpan/build/Mail-ClamAV-0.17

  CPAN.pm: Going to build S/SA/SABECK/Mail-ClamAV-0.17.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.17 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.17/_Inline/build/Mail/ClamAV'
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c
gcc -c  -I/root/.cpan/build/Mail-ClamAV-0.17 -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   ClamAV.cClamAV.xs: In function `clamav_perl__scanbuff':
ClamAV.xs:185: warning: passing arg 3 of `Perl_sv_setpv' makes pointer from integer without a cast
ClamAV.xs: In function `clamav_perl__scanfd':
ClamAV.xs:229: warning: passing arg 3 of `Perl_sv_setpv' makes pointer from integer without a cast
ClamAV.xs: In function `clamav_perl__scanfile':
ClamAV.xs:270: warning: passing arg 3 of `Perl_sv_setpv' makes pointer from integer without a cast
ClamAV.xs: In function `error':
ClamAV.xs:293: warning: assignment makes pointer from integer without a cast
ClamAV.xs: In function `clamav_perl_constant':
ClamAV.xs:308: error: `CL_EMALFZIP' undeclared (first use in this function)
ClamAV.xs:308: error: (Each undeclared identifier is reported only once
ClamAV.xs:308: error: for each function it appears in.)
ClamAV.xs:334: error: `CL_SCAN_DISABLERAR' undeclared (first use in this function)
make[1]: *** [ClamAV.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/Mail-ClamAV-0.17/_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.17/_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.17/blib/lib/Mail/ClamAV.pm line 193
BEGIN failed--compilation aborted at /root/.cpan/build/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 537.
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
i also downloaded Mail::ClamAV tar and tried to install it offline but it's coming back with the same output. as far as the INSTALL file, the only requirement is libclamav which is installed already since i compiled clamav-0.90 from source. i've been searching for two days with no results on the issue. any ideas?
thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS LXer Syndicated Linux News 0 02-04-2007 02:21 PM
Postfix suspending mail delivery(configured with clamav and amavis) myguest Red Hat 0 08-02-2005 01:17 AM
How do I send daily clamav scan logs to my work e-mail account rwtreke SUSE / openSUSE 3 05-20-2005 12:05 PM
upgrade clamav on mitel sme mail server Warmduvet Linux - Newbie 0 05-08-2005 10:10 PM
Clamav scanning outgoing, but not incoming mail chaan Linux - Software 0 04-09-2004 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration