Jeremy Morin wrote:
> I did... But for some reason it will not take. I may be confused as to the 
> appropriate path? 
> 
> Sent from my iPhone
> 
> On Aug 18, 2010, at 1:34 PM, Alexander Hansen <[email protected]> 
> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 8/18/10 4:29 PM, Jeremy Morin wrote:
>>> Last login: Wed Aug 18 13:14:38 on ttys000
>>> /Applications/FinkCommander.app/Contents/MacOS/FinkCommander ; exit;
>>> [Jeremy-Morins-iMac:~] JermsBlues% 
>>> /Applications/FinkCommander.app/Contents/MacOS/FinkCommander ; exit;
>>> 2010-08-18 13:15:05.556 FinkCommander[20698:903] Fink base path has changed 
>>> from  /sw5 to (null)
>>> 2010-08-18 13:15:05.613 FinkCommander[20698:903] launch path not accessible
>>> Can't locate Fink/Services.pm in @INC (@INC contains: /sw/lib/perl5/darwin 
>>> /sw/lib/perl5  /lib/perl5 /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 .) at 
>>> /Users/jermsblues/Library/Application 
>>> Support/FinkCommander/FinkCommander.pl line 40.
>>> BEGIN failed--compilation aborted at /Users/jermsblues/Library/Application 
>>> Support/FinkCommander/FinkCommander.pl line 40.
>>> 2010-08-18 13:15:35.623 FinkCommander[20698:903] Exit status of process = 1

It seems that FinkCommander expects the Fink installation to be in one 
of what it considers "standard" locations, like /sw (or /fink, or 
~/fink, or /opt, or /usr/local, or several other really weird things). 
Your choice /sw5 is not among them.

I would call this a bug in FinkCommander: It should allow any path, as 
soon as it contains a valid Fink installation. This looks to me not like 
a conscious decision, but more like a programming error (file 
FinkUtilities.m, function findFinkBasePath), where oldBasePath has been 
forgotten to be included as the first component in a search list.

You can work around this by making a symlink from one of the standard 
locations to your Fink base directory, for example

   ln -s /sw5 ~/fink

Another point to consider is that setting the Fink path in the "Paths" 
tab of the Preferences is not enough. Be sure that you also set the 
paths in the "Environment" tab, in particular the PERL5LIB path.

-- 
Martin




------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to