Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: (OT) path_helper [was Re: Xterm not reading dotfiles]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (OT) path_helper [was Re: Xterm not reading dotfiles]



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


References: 
 >Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: "Mark J. Reed" <email@hidden>)
 >Re: Xterm not reading dotfiles (From: "Andrew J. Hesford" <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Merton Campbell Crockett <email@hidden>)
 >(OT) path_helper [was Re: Xterm not reading dotfiles] (From: "Andrew J. Hesford" <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Merton Campbell Crockett <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Ben Byer <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: "Nathaniel Gray" <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: "Andrew J. Hesford" <email@hidden>)
 >Fwd: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: "Nathaniel Gray" <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Merton Campbell Crockett <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Martin Costabel <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Merton Campbell Crockett <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: "Andrew J. Hesford" <email@hidden>)
 >Re: (OT) path_helper [was Re: Xterm not reading dotfiles] (From: Merton Campbell Crockett <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.