ImageMagick/OpenSSL failure to upgrade/install

Ryan Schmidt ryandesign at macports.org
Sat Jul 10 16:20:57 PDT 2010


Remember to keep replies on the list by using Reply All (not Reply).


On Jul 10, 2010, at 18:16, Jeff Harmon wrote:

> i cleaned openssl via porticus, then attempted to upgrade openssl, getting
> this reply:
> 
> Error: Target org.macports.patch returned: can't read "configure.sdkroot":
> no such variable

That means you're using MacPorts 1.8.x or earlier. You need to upgrade to MacPorts 1.9.1. Run:

sudo /opt/local/bin/port selfupdate

Or whatever the equivalent of that is in Porticus, if you prefer.


> i then went to terminal, and tried sudo port clean openssl
> 
> and got
> 
> sudo: port: command not found

That means you haven't set up your shell to know where the port command is. If you'd like to use MacPorts from the shell, either type the full path to port (/opt/local/bin/port) every time you want to use it, or edit the file .profile or .bash_profile in your home directory and set up your PATH variable following these instructions:

http://guide.macports.org/#installing.shell

MacPorts should have set this up for you at installation time; not sure what went wrong.



More information about the macports-users mailing list