Problem with install-Clam-SA's ./install.sh script
Julian Field
MailScanner at ecs.soton.ac.uk
Mon Sep 26 18:49:26 IST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have added code to the install.sh script to check for this and add the
appropriate line if necessary, before the Mail::ClamAV module is built.
Should make it easier for novice sysadmins, which is always worth doing
where I can.
Julian Field wrote:
>* PGP Signed by an unmatched address: 09/26/05 at 18:33:57
>
>It's not actually a bug in my script really. You need to add
>/usr/local/lib to your /etc/ld.so.conf file so that it knows to look for
>libraries in /usr/local/lib. Then Mail::ClamAV will be able to work.
>
>As for the other problem, upgrade MailScanner to my latest beta and the
>output goes away. It's quite harmless, feel free to ignore it.
>
>Quentin Campbell wrote:
>
>
>
>>Julian
>>
>>Am running MS 4.45.4-1 with SA 3.0.4 and ClamAV 0.87 on a RHAS4 system.
>>
>>Want to upgrade to SA 3.1.0 so unpacked the "install-Clam-SA" tar ball.
>>
>>When did "install.sh" got:
>>
>>...
>>Finished Build Compile Stage^M
>>^M
>>Manifying blib/man3/Mail::ClamAV.3pm^M
>>PERL_DL_NONLAZY=3D1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>>"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t^M
>>t/Mail-ClamAV....# Failed test (t/Mail-ClamAV.t at line 9)^M
>># Tried to use 'Mail::ClamAV'.^M
>># Error: Had problems bootstrapping Inline module 'Mail::ClamAV'^M
>># ^M
>># Can't load
>>'/tmp/Mail-ClamAV-0.17/blib/arch/auto/Mail/ClamAV/ClamAV.so' for module
>>Mail::ClamAV: libclamav.so.1: cannot open shared object file: No such
>>file or directory at
>>/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.^M
>># at /usr/lib/perl5/site_perl/5.8.5/Inline.pm line 500^M
>># ^M
>># ^M
>># at /tmp/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 188^M
>># BEGIN failed--compilation aborted at
>>/tmp/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 532.^M
>># Compilation failed in require at (eval 1) line 2.^M
>>^M
>>^Mt/Mail-ClamAV....NOK 1"all" is not defined in
>>%Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line 11^M
>>Can't continue after import errors at t/Mail-ClamAV.t line 11^M
>># Looks like you planned 10 tests but only ran 1.^M
>>^M
>>^Mt/Mail-ClamAV....dubious^M
>> Test returned status 10 (wstat 2560, 0xa00)^M
>>DIED. FAILED tests 1-10^M
>> Failed 10/10 tests, 0.00% okay^M
>>Failed Test Stat Wstat Total Fail Failed List of Failed^M
>>------------------------------------------------------------------------
>>-------
>>...
>>
>>Ignored this as not using 'clamavmodule'.=20
>>
>>However when doing 'spamassassin -D' get indication that all is not well
>>with 3.1.0:
>>
>>...
>>[10935] warn: Use of uninitialized value in pattern match (m//) at
>>/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line
>>870.
>>[10935] warn: Use of uninitialized value in concatenation (.) or string
>>at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line
>>944.
>>X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
>>cheviot70.ncl.ac.uk
>>...
>>
>>Have looked through the MailScanner list for clues and googled the
>>problem but am none the wiser. Have I missed something in the recent
>>flurry of MailScanner list traffic?
>>
>>Quentin=20
>>---
>>PHONE: +44 191 222 8209 Information Systems and Services (ISS),
>> University of Newcastle,
>> Newcastle upon Tyne,
>>FAX: +44 191 222 8765 United Kingdom, NE1 7RU.
>>------------------------------------------------------------------------
>>Any opinion expressed above is mine. The University can get its own.=20
>>
>>------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>>Support MailScanner development - buy the book off the website!
>>
>>
>>
>>
>
>
>
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)
iQA/AwUBQzg0qBH2WUcUFbZUEQIihgCfbLqamPxzxcuu+NGokMgOE1rJn5oAoObg
AzpgaZqdpFZtKXxDYtLVFw4p
=iYwx
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list