2
0
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.
Have you executed
sudo port selfupdate
before attempting to install ImageMagick? – emcconville – 2013-03-21T13:19:45.497Yes I did. But this operation didn't change the result because recently installed MacPorts tree is already up-to-date. What seems interesting is; the mentioned port file exists. It's not corrupted. It has the sufficient permissions (
-rw-r--r-- 1 root wheel
) so why can't root install it? – Lashae – 2013-03-22T06:54:14.043I'm not on Lion, but
tarball
directory should be a sibling ofrelease
, not a child. Are you able to install other ports, likelibpng
? – emcconville – 2013-03-22T14:04:15.327This is a valid path:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/libpng/Portfile
. The only directory inrsync.macports.org/release/
istarballs/
– timeSmith – 2013-03-22T21:52:03.107