I'm having a problem of consistency between my machines because I have to explicitly specify the command path for some items like Image Magick. Port installs them to /opt/local/bin, but for consistency, I would like to install to /usr/local/bin. How can I specify that?
feedback
|
migrated from stackoverflow.com Sep 15 '09 at 22:03
This question came from our site for professional and enthusiast programmers.
|
Just add Trying to force it to
| |||||||||
feedback
|
|
Macports really does not like being in /usr/local. From MacPorts Faq /opt/local was chosen so as to avoid stomping on other various installations (e.g. fink uses /sw to do the same); /usr/local is not a viable choice for several reasons:
Also if you have installs from different sources are you sure that they are exactly the same version. If they are not then you will have odd build and runtime issues. If after all that you still want to try to us this unsupported method and you just cannot use the path to find things I suspect it would be easier to make your code look in /opt/local/bin then /us/local/bin then choose the one it finds (also what happens if both are there) | |||
|
feedback
|
|
If you know what you are doing, here is how to do it: Installing Mac Ports from source. | |||||
feedback
|