Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install a previous port of cgal with macports. I'm following this How-to:

I already read this answer but it didn't solve for me. (Unable to execute port when installing ImageMagick) -- Setting read permissions for macports user in /opt --

This is what i have done:

svn co -r 102134
sudo chown -R macports:macports cgal/
cd cgal
sudo chmod 777 Portfile
sudo port install

This is the error that i get

Error: Unable to execute port: Could not open file: /Users/#######/Downloads/cgal/Portfile

What am I doing wrong?

share|improve this question
I also tried to set macports user in the /opt/local/etc/macports/macports.conf file to "root". Does the .conf file have to be reloaded in some ways? – SolidSnake May 22 '13 at 23:47
up vote 1 down vote accepted

Ok managed how to solve:

sudo mv cgal /private/tmp
cd /private/tmp
sudo port install
share|improve this answer

I actually changed the permissions of /tmp as follows:

sudo chmod 755 /tmp
share|improve this answer
So this is not working for you? – SolidSnake Jan 10 '14 at 20:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .