Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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? –  TiD91 May 22 '13 at 23:47

2 Answers 2

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? –  TiD91 Jan 10 at 20:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.