Perl Modules

Julian Field MailScanner at ecs.soton.ac.uk
Thu Jan 31 17:33:09 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Jay Chandler wrote:
> --[ UxBoD ]-- wrote:
>> If you are going to be using FuzzyOcr with SA aswell you will need 
>> these :-
>>
>> yum install rpm-build gcc postfix gcc-c++ openssl-devel mysql-devel 
>> zlib-devel
>> yum install giflib giflib-utils netpbm netpbm-progs libungif-bin
>> Regards,
>>
>>   
> Made sure that all of these were installed.
>
> Still getting:
>
> Manifying blib/man3/Mail::ClamAV.3pm
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Mail-ClamAV....
> #   Failed test 'use Mail::ClamAV;'
> #   at t/Mail-ClamAV.t line 9.
> #     Tried to use 'Mail::ClamAV'.
> #     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
> #
> # Can't load 
> '/tmp/Mail-ClamAV-0.21/blib/arch/auto/Mail/ClamAV/ClamAV.so' for 
> module Mail::ClamAV: 
> /tmp/Mail-ClamAV-0.21/blib/arch/auto/Mail/ClamAV/ClamAV.so: failed to 
> map segment from shared object: Operation not permitted at 
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
Make sure you aren't mounting /tmp with the "noexec" flag. Check your 
/etc/fstab for this. If you do find noexec there, then (a) remove it and 
save /etc/fstab and (b) remount your current /tmp without the flag. This 
command should do it:
mount -o remount,rw,defaults /tmp

> #  at /usr/lib/perl5/site_perl/5.8.8/Inline.pm line 500
> #
> #
> #  at /tmp/Mail-ClamAV-0.21/blib/lib/Mail/ClamAV.pm line 173
> # BEGIN failed--compilation aborted at t/Mail-ClamAV.t line 9.
> # Compilation failed in require at (eval 3) line 2.
> # BEGIN failed--compilation aborted at (eval 3) line 2.
> t/Mail-ClamAV....NOK 1"all" is not defined in 
> %Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line 11
> Can't continue after import errors at t/Mail-ClamAV.t line 11
> # Looks like you planned 10 tests but only ran 1.
> # Looks like you failed 1 test of 1 run.
> t/Mail-ClamAV....dubious                                                     
>
>    Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 1-10
>    Failed 10/10 tests, 0.00% okay
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------- 
>
> t/Mail-ClamAV.t    1   256    10   19 190.00%  1-10
> Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 1
>
>

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


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: Use Thunderbird's Enigmail add-on to verify this message
Charset: UTF-8

wj8DBQFHogZYEfZZRxQVtlQRApNrAJ4pBd3F6SF687qqbbrVXs3t5pw5uwCcDY2I
pI6UHsVogLnmVhbPYDohwk8=
=FmhT
-----END PGP SIGNATURE-----

-- 
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