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: Ben Abbott
Subject: Re: Can't get octave to run on Mac OS X 10.6.8
Date: Thu, 05 Apr 2012 19:14:23 -0400

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/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
> 
> I 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

Ben




reply via email to

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