On Snow-Leopard, it seems that when I install a package, it requires to be "reinstalled" for every user. How do I do a system-wide install?

Thanks!

link|improve this question

Not here. I just add ports with sudo port install and it works for every user. – SvenW May 18 '10 at 14:54
feedback

1 Answer

up vote 2 down vote accepted

By default all packages installed by MacPorts are installed within the /opt/local tree. Make sure each user either has this reflected in their path, or calls the binary with the full path.

export PATH=${PATH}:/opt/local/bin:/opt/local/sbin

Failing that, check to make sure the prefix variable is set correct in the macports.conf file. The global file can be found at:

/opt/local/etc/macports/macports.conf

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.