On Mon, 4 Nov 2002, Ken Engel wrote:

> Line 1 in /sw/bin/fink should say
> 
> #!/usr/bin/perl -w
> 
> unless you changed it to "#!/usr/local/bin/perl -w"  ?
> 
> I believe you get the command not found error, not because fink isn't
> found, but rather that
> /usr/bin/perl isn't found. If I'm interpreting your message correctly,
> you removed it.

That was it!!

I removed /usr/bin/perl 'cause it was getting picked over 
/usr/local/bin/perl. So instead of putting a perl back into /usr/bin/, I 
instead changed the beginning of fink to:

  #!/usr/bin/env perl

and added:

  use warnings;

just after the comments. Now it should use whatever perl is found via 
the PATH variable.

Does anyone see a problem with this? If so, I guess I can always put a 
symbolic link or just cp the /usr/local/bin/perl into /usr/bin - I'd 
rather not have to go through cleaning up the installation I now have to 
re-install over the standard Apple location.

Thanks, Jim



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to