I am so very sure this has been gone over in depth. If I've missed where the information is at then please point me in the right direction and I'll go away :)
I have fink installed and also a couple of self compiled packages that I've rolled myself. All the fink stuff goes in /sw but the stuff I rolled myself is in /usr/local/bin. To get terminal to see /usr/local/bin it's a simple matter of editing /etc/profile to include it and you're done. It doesn't seem to work in the ~/.profile as init.sh gets overridden. In my home folder I have a ~/.profile file with the: test -r /sw/bin/init.sh && . /sw/bin/init.sh line that fink installs and a bunch of aliases I've set up. I've found that the only way for X11 to see the init.sh is to add it to a ~/.bashrc file, so I've done this by making a symlink from ~/.profile to ~/.bashrc. By the by, if this is not good practice, please chip in. So far, so good. X11 is another matter altogether. I know there's some difference (interactive vs. non-interactive) between the type of shells used by Terminal and X11's Term. But I can't work out where to add /usr/local/bin to X11's path. The /etc/bashrc file doesn't have a PATH statement. So where do I go to add /usr/local/bin to the path X11 sees? William ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
