SA/Clam-AV installation

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Tue Apr 15 18:55:27 IST 2008


Julian Field wrote:
> 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.

Ah - I didn't pick up on that being the clamavmodule.

I'm presuming that the compile for the good old clamAV command line
scanner did work.  I'll run some eicars through to make sure.

Thanks Jules,

...Kevin
-- 
Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500


More information about the MailScanner mailing list