Problems installing ports
Bradley Giesbrecht
brad at pixilla.com
Wed Apr 21 08:00:08 PDT 2010
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.
echo $PATH
which sed
which uname
/usr/bin/uname
file /usr/bin/sed
// Brad
More information about the macports-users
mailing list