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 (Ben Abbott)


From: Stuart Edwards
Subject: Re: Can't get octave to run on Mac OS X 10.6.8 (Ben Abbott)
Date: Fri, 6 Apr 2012 08:40:10 -0400

On Apr 6, 2012, at 8:24 AM, Ben Abbott wrote:

> 
> On Apr 6, 2012, at 8:11 AM, Glenn Eychaner wrote:
> 
>> On Apr 6, 2012, at 6:23 AM, address@hidden wrote:
>> 
>>> 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
>> 
>> 
>> You shouldn't "touch" the files before doing the "ln"; at least on my 
>> system, that gives the error "File exists".  The "right" way to create the 
>> links is:
>> 
>> sudo ln -sfh /Applications/gnuplot.app/Contents/Resources/bin/gnuplot 
>> /usr/local/bin/gnuplot
>> sudo ln -sfh /Applications/Octave.app/Contents/Resources/bin/octave 
>> /usr/local/bin/octave
>> 
>> the "f" will overwrite any existing file; the "h" will ensure that if the 
>> existing file is itself a softlink, it doesn't get followed.
>> 
>> -G.
> 
> Ok. I'll update the wiki.
> 
> Ben

But if the file doesn't exist - as is the case usually with a new install, 
doesn't the 'touch' create it and avoid a 'no such file or directory' error?

Stu

reply via email to

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