Perl Modules

Jay Chandler lists at sequestered.net
Thu Jan 31 16:39:11 GMT 2008


Ronny T. Lampert wrote:
>> rm -f blib/arch/auto/Mail/ClamAV/ClamAV.so
>> gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
>> -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib 
>> ClamAV.o  -o blib/arch/auto/Mail/ClamAV/ClamAV.so     \
>>       -L/usr/lib -lz -lbz2 -lgmp -lclamav      \
>>     /usr/bin/ld: cannot find -lz
>> collect2: ld returned 1 exit status
>> make[1]: *** [blib/arch/auto/Mail/ClamAV/ClamAV.so] Error 1
>> make[1]: Leaving directory 
>> `/tmp/Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV'
>
> #> yum install zlib-devel bzip2-devel gmp-devel
>
> and you're golden.
We'd like to hope, but:


Finished Build Compile Stage

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


-- 
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: Well fix that in the next (upgrade, update, patch release, service pack)



More information about the MailScanner mailing list