Subject: | PAR::Packer fails to build on Mac OSX 10.4.8 with Compress::Zlib 2.003 |
Hello,
I had a strange trying to build PAR::Packer 0.970 on OSX
$ perl -v
This is perl, v5.8.8 built for darwin-2level
$ uname -a
Darwin ordinateur-de-matthieu-codron.local 8.8.2 Darwin Kernel Version
8.8.2: Thu Sep 28 20:43:26 PDT 2006;
root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386
Perl is self compiled, installed in /usr/local
$ perl Makefile.PL
perl Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- File::Temp ...loaded. (0.17 >= 0.05)
- Compress::Zlib ...loaded. (2.003 >= 1.3)
- Archive::Zip ...loaded. (1.18 >= 1)
- Module::ScanDeps ...loaded. (0.70 >= 0.7)
- PAR::Dist ...loaded. (0.21 >= 0.21)
- PAR ...loaded. (0.970 >= 0.97)
- Getopt::ArgvFile ...loaded. (1.10 >= 1.07)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR::Packer
and then, when I type make:
$ make
[... everything's fine ..]
perl parlsig.pl ./static ./par 1 30000
./static -I"/Users/matthieu/.cpan/build/PAR-Packer-0.970/inc"
-I"/usr/local/lib/perl5/5.8.8/darwin-2level"
-I"/usr/local/lib/perl5/5.8.8"
-I"/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level"
-I"/usr/local/lib/perl5/site_perl/5.8.8"
-I"/usr/local/lib/perl5/site_perl"
-I"/Users/matthieu/.cpan/build/PAR-Packer-0.970" -I"." -I../myldr/..
-I../blib/lib -q -B -O../script/parl
is only avaliable with the XS version at
/usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
Compilation failed in require at -e line 406.
make[1]: *** [../script/parl] Error 255
make: *** [subdirs] Error 2
I tried many thing to make this work, without any luck. Worked finally
when I downgraded Compress::Zlib to 1.42.