Skip Menu |

This queue is for tickets about the Mail-ClamAV CPAN distribution.

Report information
The Basics
Id: 5588
Status: resolved
Priority: 0/
Queue: Mail-ClamAV

People
Owner: SABECK [...] cpan.org
Requestors: bcl [...] brianlane.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: doesn't compile on Fedora Core 1
Perl v5.8.3 on a Fedora Core 1 install. Had to install Inline and Inline::CPP by hand (wasn't detected cleanly by perl Makefile.PL) make test returns the following failure: [root@neil Mail-ClamAV-0.06]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Mail-ClamAV....NOK 1# Failed test (t/Mail-ClamAV.t at line 8) # Tried to use 'Mail::ClamAV'. # Error: Had problems bootstrapping Inline module 'Mail::ClamAV' # # Can't load '/home/blane/src/Mail-ClamAV-0.06/blib/arch/auto/Mail/ClamAV/ClamAV.so' for module Mail::ClamAV: /home/blane/src/Mail-ClamAV-0.06/blib/arch/auto/Mail/ClamAV/ClamAV.so: undefined symbol: gzdopen at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229. # at /usr/lib/perl5/site_perl/5.8.3/Inline.pm line 500 # # # at /home/blane/src/Mail-ClamAV-0.06/blib/lib/Mail/ClamAV.pm line 147 # BEGIN failed--compilation aborted at /home/blane/src/Mail-ClamAV-0.06/blib/lib/Mail/ClamAV.pm line 420. # Compilation failed in require at (eval 1) line 2. "all" is not defined in %Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line 10 Can't continue after import errors at t/Mail-ClamAV.t line 10 # Looks like you planned 6 tests but only ran 1. t/Mail-ClamAV....dubious Test returned status 6 (wstat 1536, 0x600) Scalar found where operator expected at (eval 153) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/Mail-ClamAV.t 6 1536 6 11 183.33% 1-6 Failed 1/1 test scripts, 0.00% okay. 6/6 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2
[guest - Mon Mar 8 00:31:30 2004]: Show quoted text
> Perl v5.8.3 on a Fedora Core 1 install. Had to install Inline and > Inline::CPP by hand (wasn't detected cleanly by perl Makefile.PL) >
Yeah, I know about this. Show quoted text
> make test returns the following failure: > > [root@neil Mail-ClamAV-0.06]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/Mail-ClamAV....NOK 1# Failed test (t/Mail-ClamAV.t at line 8) > # Tried to use 'Mail::ClamAV'. > # Error: Had problems bootstrapping Inline module 'Mail::ClamAV' > # > # Can't load '/home/blane/src/Mail-ClamAV- > 0.06/blib/arch/auto/Mail/ClamAV/ClamAV.so' for module Mail::ClamAV: > /home/blane/src/Mail-ClamAV- > 0.06/blib/arch/auto/Mail/ClamAV/ClamAV.so: undefined symbol: > gzdopen at /usr/lib/perl5/5.8.3/i386-linux-thread- > multi/DynaLoader.pm line 229. > # at /usr/lib/perl5/site_perl/5.8.3/Inline.pm line 500
Strange that this works on most systems. Could you try something for me? Try compiling it again but this time set LIBS like this: LIBS="-lz -lbz2 -lgmp -lpthread" perl Makefile.PL Be sure and make clean first. Cheers, Scott