Problem Updating ClamAV

Discuss our MailScanner install script and MailScanner itself
Post Reply
daiello
Junior Member
Posts: 4
Joined: 08 Apr 2007, 00:18

Problem Updating ClamAV

Post by daiello »

Happy New Year Folks:

I was following the instructions on the Updating MailScanner and ClamAV page earlier this afternoon on my primary server:

http://www.configserver.com/cp/upgrade.html

When I reached the part where I had to check if the latest version of the clamavmodule is installed (by issuing the following command):

/scripts/perlinstaller --force Mail::ClamAV

I experienced the following problem:

[INDENT]A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
make

The build directory was:
/home/.cpan/build/Mail-ClamAV-0.20-yBDC5b/_Inline/build/Mail/ClamAV

To debug the problem, cd to the build directory, and inspect the output files.

at /home/.cpan/build/Mail-ClamAV-0.20-yBDC5b/blib/lib/Mail/ClamAV.pm line 178
BEGIN failed--compilation aborted at /home/.cpan/build/Mail-ClamAV-0.20-yBDC5b/blib/lib/Mail/ClamAV.pm line 542.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 25
[/INDENT]

Hope I didn't disclose anything I shouldn't. ;)

Has anyone else experienced this problem lately, and can you recommend a way to go forward?

Regards,

--Dave Aiello
daiello
Junior Member
Posts: 4
Joined: 08 Apr 2007, 00:18

Problem Updating ClamAV SOLVED

Post by daiello »

I found the solution to my problem on the MailScanner home page:

[INDENT]I have updated the easy-to-install ClamAV & SpamAssassin package in 2 ways: (1) I have included the latest ClamAV 0.92. (2) I have patched the Perl module Mail::ClamAV so that it will build with the latest ClamAV 0.92. (3) I have added SpamAssassin patch 5589 to SpamAssassin 3.2.3 to save you having to mess with the "patch" command and building the package manually to get decent DNS lookup performance from it. See the downloads page for the link to download it all.[/INDENT]

The patched version of Mail::ClamAV worked in my installation, but it failed one of the tests in "make test" on my server for some reason.

Let me know if you have any comments, questions, or suggestions,

--Dave Aiello
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

There was also information about this patched version in our FAQ:
http://www.configserver.com/techfaq/index.php?faqid=64
Post Reply