Sunday 23 December 2007

Problem installing XCode 2.5 on Tiger

If you find the XCode 2.5 won't install for you it could be you have a similar problem as I've just had.

Symptom:
The XCode installer bounces briefly, and dies.
In the console log there's the message:

Can't locate Foundation.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/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.

Solution:
The missing Foundation.pm appears not to be in the library path for /usr/bin/perl. Its actually in /System/Library/Perl/Extras, so the simple solution is to do the following on the command line...

mirror-doors:~ cloud$ export PERL5LIB=/System/Library/Perl/Extras
mirror-doors:~ cloud$ /Volumes/Xcode\ Tools/Installers/Xcode\ Installer\ Launcher.app/Contents/MacOS/XcodeInstallerLauncher

Saturday 6 October 2007

Why am I awake?

Why am I awake at 3:52 am. I should be asleep. I think I am alseep but dreaming I'm awake. Why a'm I dreaming I'm awake. Someone pinch me. I want to wake from this mightmare so I can go to sleep....

No pinch. No pinch! Please let me wake so I can sleep.