[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: |
Ben Abbott |
Subject: |
Re: Can't get octave to run on Mac OS X 10.6.8 (Ben Abbott) |
Date: |
Fri, 06 Apr 2012 08:24:47 -0400 |
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