|
From: | Dudley Brooks |
Subject: | Re: Can't get octave to run on Mac OS X 10.6.8 |
Date: | Thu, 05 Apr 2012 17:44:58 -0700 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 4/5/12 4:28 PM, Ben Abbott wrote:
On Apr 5, 2012, at 7:14 PM, Ben Abbott wrote:On Apr 5, 2012, at 6:12 PM, Dudley Brooks wrote:On 4/5/12 2:47 PM, Ben Abbott wrote:On Apr 5, 2012, at 5:44 PM, Dudley Brooks wrote:On 4/5/12 2:35 PM, Ben Abbott wrote:On Apr 5, 2012, at 5:17 PM, Dudley Brooks wrote:On 4/5/12 1:40 PM, Ben Abbott wrote:On Apr 5, 2012, at 4:28 PM, Dudley Brooks wrote:I followed all the instructions on the page http://www.octave.org/wiki/index.php?title=Installing_MacOS_X_Bundle Specifically: sudo touch /usr/local/bin/gnuplot sudo ln -s /Applications/gnuplot.app/Contents/Resources/bin/gnuplot /usr/local/bin/gnuplot sudo touch /usr/local/bin/octave sudo ln -s /Applications/Octave.app/Contents/Resources/bin/octave /usr/local/bin/octave But when I typed octave I got "permission denied". Nevertheless, when I typed env I found that /usr/local/bin *is* in PATH The next instructions said that I should then e-mail here. Suggestions? Thanks.Please verify you get the following. ls -l /Applications/Octave.app/Contents/Resources/bin/octave -rwxrwxrwx 1 bpabbott admin 2968 Apr 21 2011 /Applications/Octave.app/Contents/Resources/bin/octaveIt's there, and so is gnuplot. They both show up, with the correct permissions. One small question, since my unix is rusty: octave shows -rwxrwxrwx and gnuplot shows -rwxrwxrwx@ -- what's the difference? And I don't understand: if it's -rwxrwxrwx, how can there be "permission denied"?Ok. Now try to run Octave without the link. Just type the part below at the shell prompt. /Applications/Octave.app/Contents/Resources/bin/octaveOK, that works.Ok. Now fix the links. First, delete the old ones. sudo rm /usr/local/bin/gnuplot sudo rm /usr/local/bin/octave ... and then recreate them. sudo touch /usr/local/bin/gnuplot sudo ln -s /Applications/gnuplot.app/Contents/Resources/bin/gnuplot /usr/local/bin/gnuplot sudo touch /usr/local/bin/octave sudo ln -s /Applications/Octave.app/Contents/Resources/bin/octave /usr/local/bin/octave BenI notice that ls -l /usr/local/bin/octave gives -rw-r--r-- Evidently that's where the execute permission is denied. But why is it that way? Can I merely do a chmod?ok. Try ... chmod 755 /usr/local/bin/octave chmod 755 /usr/local/bin/gnuplot BenI've added this part to the wiki. Please confirm this works for you.
Nope. I got"chmod: Unable to change file mode on /usr/local/bin/octave: Operation not permitted"
"Unable to change file mode on /usr/local/bin/gnuplot: Operation not permitted"
[Prev in Thread] | Current Thread | [Next in Thread] |