I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file.
I open the terminal and run:
sudo port install ImageMagick
However what I get is:
Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/ImageMagick/Portfile
Although the error message doesnt contain "permission denied", I tried setting Portfile
and its first parent folder to 777
. And this obviously didn't solve my problem.
I have the latest Xcode installed.
sudo port selfupdate
before attempting to install ImageMagick?-rw-r--r-- 1 root wheel
) so why can't root install it?tarball
directory should be a sibling ofrelease
, not a child. Are you able to install other ports, likelibpng
?/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/libpng/Portfile
. The only directory inrsync.macports.org/release/
istarballs/