[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pb w/ Archive::Zip under Mac OS X 10.5


Hi!

Following my tests of Apache 2.2.6 & mod_perl 2.0.3 under Mac OS X (aka Leopard), I've noticed something wrong with Archive::ZIP. See the simple "p3.pl" script below:

use strict;
use warnings;

use Archive::Zip;

print <<EOT;
Content-type: text/plain

dummy
EOT

exit(1);

When I run it through mod_perl, I get the following error message:
[Tue Nov 13 21:58:00 2007] [error]  is only avaliable with the XS version at /Library/Perl/5.8.8/Compress/Zlib.pm line 9\nBEGIN failed--compilation aborted at /Library/Perl/5.8.8/Compress/Zlib.pm line 9.\nCompilation failed in require at /Library/Perl/5.8.8/Archive/Zip.pm line 11.\nBEGIN failed--compilation aborted at /Library/Perl/5.8.8/Archive/Zip.pm line 11.\nCompilation failed in require at /Users/laurent/www/perl/p3.pl line 4.\nBEGIN failed--compilation aborted at /Users/laurent/www/perl/p3.pl line 4.\n

No problem if I run it as a normal CGI (ie. w/o mod_perl).

I'm running the default Apache2 provided with Leopard, and I've recompiled mod_perl2 (despite the fact that it was already installed w/ Leopard, but wasn't working better).

Any idea? TIA.

-- 
Laurent, Nantes (FR) - http://blog.lmartin.fr
Apple MacBook Pro 15"
Nokia Internet Tablet N800
Palm Treo 650 (unlocked GSM)


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.