SA/Clam-AV installation
Julian Field
MailScanner at ecs.soton.ac.uk
Mon Apr 14 22:07:07 IST 2008
Kevin Miller wrote:
> I just tried to run the install script for the new clamav and
> spamassassin packages and encountered a couple of errors:
>
> The first is this:
> ============================================================
> config.status: creating clamav-config.h
> config.status: executing depfiles commands
> configure: WARNING:
> ****** WARNING:
> ****** You are either cross compiling to a different host or
> ****** you have manually disabled important configure checks.
> ****** Please be aware that this build may be badly broken.
> ****** DO NOT REPORT BUGS BASED ON THIS BUILD !!!
> ============================================================
>
> I'm compiling on the target host (SSHed in), and haven't knowlingly
> disabled any configure checks.
>
That's expected. I have to disable that check or else it won't build.
> The second problem was this:
> ============================================================
> ClamAV.xs:365: error: for each function it appears in.)
> make[1]: *** [ClamAV.o] Error 1
> make[1]: Leaving directory
> `/tmp/Mail-ClamAV-0.21/_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:
> /tmp/Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV
>
> To debug the problem, cd to the build directory, and inspect the output
> files.
>
> at /tmp/Mail-ClamAV-0.21/blib/lib/Mail/ClamAV.pm line 178
> BEGIN failed--compilation aborted at
> /tmp/Mail-ClamAV-0.21/blib/lib/Mail/ClamAV.pm line 556.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> make: *** [ClamAV.inl] Error 25
> ============================================================
>
> It seems that it was trying to access
> /tmp/Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV but that directory
> doesn't exist. /tmp/clamav-0.93 does exist. Should I just try running
> install from inside it again?
>
As I said in my post a few hours ago, Mail::ClamAV won't build with
ClamAV 0.93 at the moment.
See my very recent thread.
Jules
--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list