Should I edit my path when installing a port?

Ryan Schmidt ryandesign at macports.org
Wed May 18 05:16:18 PDT 2011


On May 18, 2011, at 05:54, Gabriele Kahlout wrote:

> I'm trying to install tortoisehg with macports following the wiki instructions which mentions:
> 
> $ sudo port install py27-pyqt4 py27-qscintilla
> 
> Set " /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin" to your Path (edit /.bash_profile)
> 
> I'm concerned about setting my path. Doesn't macports do that by itself? If not, is there a more  'macports-friendly' way of doing it?

That wiki page of theirs seems to be designed to tell you how to install tortoisehg manually, while using MacPorts to satisfy its dependencies.

I recommend you simply use MacPorts to install tortoisehg and all the dependencies automatically. Just type:

sudo port install tortoisehg

There should be no need to modify your PATH. You're correct, MacPorts does not use your PATH when it builds things.




More information about the macports-users mailing list