Can't install MacPorts

I’m trying to install MacPorts to get plex into xcode but I’m having some issues. It seems it won’t get installed, I tried installing via the terminal by following the steps at macports.org and the installation runs through fine. But when I do a “man port” on the terminal I get “No manual entry for port” I installed x11 and x11sdk, and got the xcode 3.1 update. Any ideas?



Install issue maybe? What do you get if you do "which port" on the command line?

No man page is normal. Like pundy says, see if it’s actually there.



$ port help

I had a problem where the default install location for mac ports isn’t in my path. I added these lines to .profile to get it working:



export PATH=/opt/local/bin:/opt/local/sbin:$PATH<br />
export MANPATH=/opt/local/share/man:$MANPATH

port help

-bash: port: command not found





which port



Doesn’t return anything.



It’s weird since I tried both, the GUI and terminal installations and both return fine. Am I missing something in the installation?

The port binary is installed at /opt/local/bin/port. Do you have /opt/local/bin as part of your path?

Ok it’s working now, I used Isaac’s lines and created a profile file (which didn’t exist). Thanks everyone :slight_smile:



Now on to git…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.