Fw: Install-ClamAV-SA3 failed
Terran Wright
wright at CYBERVALE.COM
Thu Sep 9 13:15:26 IST 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 sent this yesterday but I don't see it on list.
----- Original Message ----- From: Terran Wright
To: MailScanner mailing list
Sent: Wednesday, September 08, 2004 6:10 PM
Subject: Install-ClamAV-SA3 failed
Hey Guys,
I'm preparing a box to be used as a mail gateway. I've installed redHat
9, postfix-2.1.4, MailScanner-4.33.3-1 all were working fine. Then I
tried the Install-Clam-SA by doing './INSTALL-rpm.sh' and got the error
below:
Starting "make" Stage
make[1]: Entering directory
`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.0/ExtUtils/typemap ClamAV.xs > ClamAV.xsc && mv
ClamAV.xsc ClamAV.c
gcc -c -I/usr/src/redhat/BUILD/Mail-ClamAV-0.11 -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 -march=i386 -mcpu=i686
-g -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" ClamAV.c
ClamAV.xs:11:20: clamav.h: No such file or directory
ClamAV.xs:19: field `limits' has incomplete type
ClamAV.xs:20: field `st' has incomplete type
ClamAV.xs:24: confused by earlier errors, bailing out
make[1]: *** [ClamAV.o] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_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:
/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV
To debug the problem, cd to the build directory, and inspect the output
files.
at /usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line
159
BEGIN failed--compilation aborted at
/usr/src/redhat/BUILD/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 447.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.73585 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.73585 (%build)
Missing file
/usr/src/redhat/RPMS/noarch/perl-Mail-ClamAV-0.11-1.noarch.rpm.
Maybe it did not build correctly?
*
* This Could Be A Problem. Press Ctrl-S Now!!
what should I look for in the build directory? I have also attached the
output of the installation from as far back as the session would allow.
MailScanner -v output:
This is Red Hat Linux release 9 (Shrike)
This is Perl version 5.008000 (5.8.0)
This is MailScanner version 4.33.3
Module versions are:
1.00 AnyDBM_File
1.13 Archive::Zip
1.01 Carp
1.119 Convert::BinHex
1.00 DirHandle
1.04 Fcntl
2.71 File::Basename
2.05 File::Copy
2.01 FileHandle
1.05 File::Path
0.13 File::Temp
1.23 HTML::Entities
3.26 HTML::Parser
2.24 HTML::TokeParser
1.20 IO
1.09 IO::File
1.122 IO::Pipe
2.12 MIME::Base64
5.403 MIME::Decoder
5.403 MIME::Decoder::UU
5.403 MIME::Head
5.406 MIME::Parser
5.411 MIME::Tools
0.09 Net::CIDR
1.05 POSIX
1.75 Socket
0.03 Sys::Syslog
1.02 Time::localtime
Optional module versions are:
missing Mail::SpamAssassin
missing Net::LDAP
missing SAVI
missing Mail::ClamAV
missing Net::DNS
So as to not include too much info let me await a reply.
Any deas where the problem lies?
Thanks Guys
------------------------ 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).
[ Part 2, Text/PLAIN (Name: "install-Clam-SA-output.txt") 299 lines. ]
[ Unable to print this part. ]
More information about the MailScanner
mailing list