Re: Unable to install Xcode 2.5 due to missing Foundation.pm (perl module)
Re: Unable to install Xcode 2.5 due to missing Foundation.pm (perl module)
- Subject: Re: Unable to install Xcode 2.5 due to missing Foundation.pm (perl module)
- From: email@hidden
- Date: Tue, 06 Nov 2007 14:48:54 -0800 (PST)
The Foundation.pm does exists:
[/Users/Ric]ls /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
BerkeleyDB/ Compress/ Foundation.pm MacPerl.pm Wx/
BerkeleyDB.pm Convert/ HTML/ PerlObjCBridge.pm Wx.pm
BerkeleyDB.pod Digest/ Mac/ Unix/ auto/
I added the path to my Perl5Lib env:
[/Users/Ric]env
..
PERL5LIB=/Users/Ric/Library/Perl/:/opt/local/lib/perl5/vendor_perl/5.8.8:/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
..
But again, I get the same error.
I tried to run a simple perl script to list the INC array and got the following:
[/Users/Ric/workarea/perl]perl myPerl.pl
Can't locate diagnotics.pm in @INC (@INC contains: /Users/Ric/Library/Perl/ /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /opt/local/lib/perl5/5.9.5/darwin-2level /opt/local/lib/perl5/5.9.5 /opt/local/lib/perl5/site_perl/5.9.5/darwin-2level /opt/local/lib/perl5/site_perl/5.9.5 /opt/local/lib/perl5/vendor_perl/5.9.5/darwin-2level /opt/local/lib/perl5/vendor_perl/5.9.5 /opt/local/lib/perl5/vendor_perl .) at myPerl.pl line 1.
BEGIN failed--compilation aborted at myPerl.pl line 1.
..
So it appears the current Perl Installation is screwed up.
I suppose the only remedy to re-install Perl via MacPorts.
Ric.
On 6/Nov/2007 14:30 Rick Ballard wrote ..
> On Nov 6, 2007, at 1:10 PM, email@hidden wrote:
>
> > Greetings:
> > I currently have Xcode 2.4.1 and would like to upgrade it to Xcode
> > 2.5 for my MacBook Pro (i86).
> >
> > I downloaded the Xcode 2.5 package and launched the installer. I
> > got nothing.
> > I checked the Console log to find the following:
> >
> > ===== Tuesday, November 6, 2007 1:08:26 PM America/Los_Angeles =====
> > Can't locate Foundation.pm in @INC (@INC contains: /opt/local/lib/
> > perl5/5.9.5/darwin-2level /opt/local/lib/perl5/5.9.5 /opt/local/lib/
> > perl5/site_perl/5.9.5/darwin-2level /opt/local/lib/perl5/site_perl/
> > 5.9.5 /opt/local/lib/perl5/vendor_perl/5.9.5/darwin-2level /opt/
> > local/lib/perl5/vendor_perl/5.9.5 /opt/local/lib/perl5/
> > vendor_perl .) at /Volumes/Xcode Tools/Installers/Xcode Installer
> > Launcher.app/Contents/MacOS/XcodeInstallerLauncher line 3.
> > BEGIN failed--compilation aborted at /Volumes/Xcode Tools/Installers/
> > Xcode Installer Launcher.app/Contents/MacOS/XcodeInstallerLauncher
> > line 3.
> >
> > -----------------------
> >
> > I did a spotlight search and couldn't find Foundation.pm anywhere on
> > my Mac.
> > I do have the CPAN client; but don't know enough to use it wisely.
> >
> > Question: How can/do I get Foundation.pm installed?
>
> You should have Foundation.pm installed on your system already in /
> System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level/
> Foundation.pm (on Tiger) or /System/Library/Perl/Extras/5.8.8/darwin-
> thread-multi-2level/Foundation.pm (on Leopard). It sounds like you've
> got a custom perl installation which has changed the include paths to
> skip the base Apple system modules. If this wasn't intentional, you
> may want to reinstall your OS.
>
> - Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden