Problems installing ports

Joshua Root jmr at macports.org
Wed Apr 21 08:16:59 PDT 2010


On 2010-4-22 01:00 , Bradley Giesbrecht wrote:
> 
> On Apr 21, 2010, at 7:53 AM, Joshua Root wrote:
> 
>> On 2010-4-22 00:43 , Jason DeBacker wrote:
>>> I was able to install MacPorts 1.8.2 without any error messages, however
>>> when I try to install a program via the "sudo port install" command, I
>>> run into the error "sed: command not found".
>>
>> /usr/bin/sed is a standard part of Mac OS X. I don't know how it was
>> deleted on your system, but you'll need to get it back.
>>
>>> It may or may not be related, but I was unable to install MacPorts from
>>> the disk image on the page: http://www.macports.org/install.php. Despite
>>> downloading the dmg for Snow Leopard and my computer running OSX 10.6.3,
>>> it gives me the message that I can't install this on my computer because
>>> it's meant for OSX 10.6.
>>
>> This usually means that your /usr/bin/uname command (also a standard
>> part of OS X) is missing or malfunctioning.
> 
> In Terminal try the following commands. It may be that your $PATH
> variable is messed up unless MacPorts uses a hardcoded path to sed.

MacPorts sets up its own PATH internally. The only way to change it is
to uncomment and edit the binpath setting in macports.conf.

- Josh


More information about the macports-users mailing list