On Sun, Nov 09, 2003 at 12:15:27PM +1300, David Orlovich wrote:
> Hi fink users.
> 
> Somehow I've managed to stop fink from working.  I've been playing  
> around a bit today so I'll outline what the problem is, and how I  
> managed to get to it:

[snip]

> 
> So, what did I do to get to this?  Well, today I installed (by hand) a  
> new perl (5.8.2).  Instead of installing it in /usr/bin (which is where  
> 5.8.1 was installed), I installed it in /usr/local/bin.  I didn't  
> really mean to do it this way ... but I did.  Anyway, after upgrading  
> perl, I did 'perl -v' and it still showed perl-5.8.1, which is when I  
> realised I was putting it in a different place.  Then what I did was  
> deleted perl from /usr/bin, and then perl -v showed the newest version:
> 
> [fungus:~] davidorlovich% perl -v
> 
> This is perl, v5.8.2 built for darwin
> <etc etc>
> 
> and now my perl is
> 
> [fungus:~] davidorlovich% which perl
> /usr/local/bin/perl
> 
> Next time I tried to run fink, I got the 'command not found', whereas  
> it worked fine before I played around with perl.  I really don't see  
> how these are connected anyway but somehow there is a problem and I  
> can't figure it out!

Fink is a script, interpreted by the command on the first line:
#!/usr/bin/perl -w
which is now bye-bye.

Make a link from /usr/local/bin/perl to /usr/bin/perl, and that should
clear it up (you could just change the script to point to the new perl,
but that wouldn't help others that assume perl is in /usr/bin/...)

-- 
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to