port not installed as part of MacPorts

• Dec 8, 2014 - 22:59

I am trying to follow the instructions on the page
http://musescore.org/en/developers-handbook/compilation/compile-instruc…
which describes compile instructions for the mac.

Instruction #5 is to download and install MacPorts. Which I did, successfully.
In fact I downloaded it from the page http://www.macports.org/install.php.
But then when I try to use the sudo command as described
$ sudo port install git libsndfile pkgconfig lame port audio jack cmake
I find that there is no such command "port".
I downloaded the version of MacPorts for OS X 10.10 Yosemite.

Can anyone give me a clue as to what might be the problem? or can someone help me figure it out?
Thanks.


Comments

I think i figured out the issue.
The port program is installed in /opt/local/bin which was not in my path.
Actually the installation process apparently added a line to my .profile but I needed to source the .profile to update the path.

After adding /opt/local/bin to my path, the
sudo port install git libsndfile pkgconfig lame port audio jack cmake
command seems to proceed by doing something which looks useful.

Do you still have an unanswered question? Please log in first to post your question.