Re: New Perl-Installation on new OS X

[email protected] (Marek Stepanek) Thu, 09 Jun 2011 14:14:53 +0200
Newsgroups perl.macosx
Message-ID <[email protected]>
Thank you Sherm!

This is a step in the right direction. But my cpanplus Perl is still 
broken, with messages like:

Unable to create a new distribution object for 'Archive::Tar', although 
I have no /sw in the %ENV or @INC any more.

% perl -V

even does not show a %ENV at all. This is certainly not right, isn't it? 
In the @INC is now:

@INC:
     /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level
     /Library/Perl/Updates/5.10.0
     /System/Library/Perl/5.10.0/darwin-thread-multi-2level
     /System/Library/Perl/5.10.0
     /Library/Perl/5.10.0/darwin-thread-multi-2level
     /Library/Perl/5.10.0
     /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
     /Network/Library/Perl/5.10.0
     /Network/Library/Perl
     /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
     /System/Library/Perl/Extras/5.10.0

the .profile is not changing anything, whether I remove it or not. And 
the X11 terminal is not working any more, not finding the path. If I put 
back the line

test -r /sw/bin/init.csh && source /sw/bin/init.csh

into my ~/.tchrc the X11-terminal (Fink) is working again. But I have 
back in my % perl -V

%ENV:
 
PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin:/System/Library/Perl/5.10.0:/Library/Perl/5.10.0"

Probably I will leave the apple Perl it as it is, and make a new install 
of perl-5.14.0 under /usr/local


Thank you again



marek