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: Glenn Eychaner
Subject: Re: Can't get octave to run on Mac OS X 10.6.8
Date: Mon, 09 Apr 2012 22:44:49 -0300

On Apr 9, 2012, at 8:30 PM, address@hidden wrote:

> If either /usr/local/bin/gnuplot and /usr/local/bin/gnuplot are not symbolic 
> links or their originals are not correct, then recreate them. The commands 
> below for creating the links will only work if Octave.app and gnuplot.app are 
> in the Applications folder when the links are created.
> 
>       sudo rm /usr/local/bin/gnuplot
>       sudo rm /usr/local/bin/octave
>       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

And yet again, you're touching the link target before trying to create the 
link, which will give a "File exists" error. Try this:
        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
[My copy of Gnuplot seems to have a capital G.]
This will create the links correctly, even if the files already exist.

-G.
--
Glenn Eychaner (address@hidden)
Telescope Systems Programmer, Las Campanas Observatory



reply via email to

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