help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get octave to run on Mac OS X 10.6.8


From: Dudley Brooks
Subject: Re: Can't get octave to run on Mac OS X 10.6.8
Date: Thu, 05 Apr 2012 15:10:10 -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 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/octave

It'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/octave

OK, 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

Ben

OK, I did so. But merely typing "octave" still gives me the "permission denied" error.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]