On Sunday, Jan 26, 2003, at 13:25 US/Pacific, stevie wrote:

This is a very-beginner question: I installed Fink 0.5.0a on OS X.2 and it seems to have loaded correctly in the "sw" file on the disk, but when I type "pico .cshrc" in the Terminal.app window I get the reply "command not found". I'm following the "Quick Start" page of the Fink Downloads online manual. Thank you. Stevie.
Your shell has a list of directories it looks in to find executables when you type a command name (like 'pico'). When the shell starts in a particular window, it figures out what that list is, based on information that the system administrator or you put in your shell startup files. Check the 'man' page for your shell for details.

The probable cause of 'not found' is that your shell's list of directories doesn't include '/sw/bin', and if that's the case, you can add it.

For 'bash' and 'sh'-like shells, one way to do it is:
% export PATH=/sw/bin:$PATH
which takes the current value of the PATH variable (that's the shell's list of directories) and sticks "/sw/bin" on the front.

Note that you should, if you haven't already, modify your shell startup script to include something along the lines of ". /sw/bin/init.sh", so your environment will be properly set up for using Fink.

There's a similar scheme for 'csh' and similar shells, but I don't know it off the top of my head. The man page will help.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Reply via email to