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 14:17:09 -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 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"?

If Octave is not present in the Applications folder, you'll need to
put it there first (gnuplot also). After that ....

        sudo rm /usr/local/bin/gnuplot
        sudo rm /usr/local/bin/octave

... and then recreate the symbolic links.

        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


reply via email to

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