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: Dudley Brooks
Subject: Re: Can't get octave to run on Mac OS X 10.6.8 (Ben Abbott)
Date: Fri, 06 Apr 2012 09:48:42 -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/6/12 5: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.

Thanks, Glenn. It now works. (I had been getting "file exists" and not realizing that it was an error message.) And thanks Ben, for concerted help, and Stuart for comments.


reply via email to

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