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: http://trac.macports.org/wiki/howto/InstallingOlderPort

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 http://svn.macports.org/repository/macports/trunk/dports/gis/cgal
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 .