Tuesday, August 11, 2009

lovely error message from CPAN


Undefined subroutine &Compress::Zlib::gzopen called at /opt/local/lib/perl5/5.8.8/CPAN.pm line 5721

no solution, yet!

my best wild guess is that port/CPAN has broken the installation of CPAN/port.

Should I use cpan or port ?
May I use both ?
Since I'm not binded to any version in particular I could probably u

se both...

4 comments:

stefano said...

-r--r--r-- 1 root admin 41477 Sep 3 2008 /Library/Perl/5.8.8/Compress/Zlib.pm
-rw-r--r-- 1 root wheel 33211 Sep 24 2007 /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/Compress/Zlib.pm
-r--r--r-- 1 root admin 41608 Jun 3 10:36 /opt/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm

stefano said...

cpan updates here:

/Library/Perl/5.8.8/

port here:

/opt/local/lib/perl5/site_perl/5.8.8/

this is the original location of the perl inst by osx:

/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/

stefano said...

I forgot to mention that the Mac updated screwed some modules in the perl constallation...

IO
and
Scalar-List-Utils

both need to be downloaded and installed

stefano said...

since I already had a good Compress:Zlib
i temporary renamed the /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/Compress
directory to use CPAN successfully