[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing octave & octave-forge on Mac OS X 10.4.x - A No-Fuss Guid
From: |
Henry F. Mollet |
Subject: |
Re: Installing octave & octave-forge on Mac OS X 10.4.x - A No-Fuss Guide REVISED |
Date: |
Wed, 29 Jun 2005 20:31:34 -0700 |
Thanks. In the meantime I had turned on TinkerTool and found the
hidden directories.
I had tried what I thought was the same thing:
henry-f-mollets-emac:/usr/local/bin hfm$ octave
-bash: octave: command not found
But apparently not, because (thanks):
henry-f-mollets-emac:/usr/local/bin hfm$ /usr/local/bin/octave
GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at http://
www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
octave:5> a = rand(2,2,2)
a =
ans(:,:,1) =
0.10554 0.14355
0.55794 0.27230
ans(:,:,2) =
0.89089 0.46272
0.58187 0.69673
I was beginning to think that the installation was not successful
because:
lrwxr-xr-x 1 root wheel 13 Jun 29 10:18 octave -> octave-2.1.71
-rwxr-xr-x 1 root wheel 17260 Jun 29 10:18 octave-2.1.71
1. Size of octave-2.1.71 is only ~ 20 kB whereas size of
octave-2.1.46 installed using Fink was 66.5 MB.
2. I did not see gnuplot (alias) nor gnuplotx in the same directory
whereas it was in the same directory as octave-2.1.46 on the 'old'
computer using OS X 10.2.8.
octave:1> quit
henry-f-mollets-emac:/usr/local/bin hfm$ /usr/local/bin/gnuplot
-bash: /usr/local/bin/gnuplot: No such file or directory
I did screw up with gnuplot during installation. It was supposed to
get installed after #16 'readline' but I forgot and installed it
after #21 'gfortran". I thought it would not matter but apparently it
does matter. I did check dependencies but I probably have to try again.
Thanks also to Paul K. . I've now set my shell path:
henry-f-mollets-emac:~ hfm$ cat .profile
export PATH="$PATH:/Developer/Tools"
I'm hoping that Dave Collett will add all this to his instructions.
I know I've gone thru all of this once before on the tcsh (now bash)
but I just cannot remember all the things that need to be done to get
octave running.
Henry
On Jun 29, 2005, at 5:29 PM, Marius Schamschula wrote:
Henry,
Just type
/usr/local/bin/octave
in the Terminal.
If this works (it should) then you'll need to check your shell
configuration again.
To see hidden directories in the Finder user the <Command> <Shift>
<G> keyboard shortcut. Type in the path, and presto you see the
Folder.
On Jun 29, 2005, at 7:09 PM, Henry F. Mollet wrote:
Thanks. It was not and I've added it as ":/usr/local/bin" up front
but it still would not work. I saw that I had an extra " : " in
the LOADPATH on the "0ld" computer with 2.1.46.
I admit that I'm now totally lost in the Finder of Tiger as I
cannot find the directory "/usr/local/bin" whereas it's clearly
present as per below and shows that octave (presumably alias for
octave-2.1.71) is present . Is it a hidden directory and do I need
TinkerTool to see it in the Finder?
Henry
henry-f-mollets-emac:~ hfm$ cat .octaverc
LOADPATH = [ ':/usr/local/bin:/usr/local/libexec/octave/2.1.71/
site/oct/powerpc-apple-darwin8.1.0/octave-forge:/usr/local/share/
octave/2.1.71/site/m/octave-forge//:', LOADPATH ];
EXEC_PATH = [ '/usr/local/libexec/octave/2.1.71/site/exec/
powerpc-apple-darwin8.1.0:', EXEC_PATH ];
henry-f-mollets-emac:~ hfm$ octave
-bash: octave: command not found
henry-f-mollets-emac:~ hfm$ cd /usr/local/bin
henry-f-mollets-emac:/usr/local/bin hfm$ ls
cut
gdparttopng octave
gdtopng octave-2.1.71
cut
henry-f-mollets-emac:/usr/local/bin hfm$
Marius
--
Marius Schamschula Webmaster
The Huntsville Macintosh Users Group
www.hmug.org
webmaster at hmug dot org marius at schamschula dot com
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
RE: Installing octave & octave-forge on Mac OS X 10.4.x - A No-Fuss Guide REVISED, Jeff Cunningham, 2005/06/28
Re: Installing octave & octave-forge on Mac OS X 10.4.x - A No-Fuss Guide REVISED, Henry F. Mollet, 2005/06/30