On Nov 18, 2007, at 7:51 PM, Merton Campbell Crockett wrote:
If I create a file MacPorts in /etc/paths.d, the paths listed in
MacPorts will not be included in the path. If I add them to the
existing X11 file, they will appear in the path.
This isn't the expected behavior. Are you sure the permissions are set
appropriately on the MacPorts files? What are the contents of the file?
With regard to search order, assume that I have built a version of
an application using MacPorts that I wish to run instead of the
version included in the Mac OS X 10.5 distribution. If /opt/local/
bin doesn't appear before /usr/bin or /bin, the Apple version of the
application will be run.
You can always override the system default path by putting it at the
front of /etc/paths. However, I think that is generally a bad idea.
Overriding the path to mask system executables can lead to problems or
confusion. That's why things like GCC in MacPorts call themselves gcc-
mp-4.2 and so on.
Andrew J. Hesford <email@hidden>
Department of Electrical and Computer Engineering
University of Illinois at Urbana-Champaign
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden