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)