help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 2.9.9 + Octave-Forge 2006.07.09 on x86 MAC OS X 10.4.8 Tiger


From: Paul Koufalas
Subject: Re: Octave 2.9.9 + Octave-Forge 2006.07.09 on x86 MAC OS X 10.4.8 Tiger
Date: Sun, 17 Dec 2006 17:50:46 +1030

G'day Marius,

Thanks for your reply.  On my MBP, "which octave" yields
/usr/local/bin/octave

which is a symlink to octave-2.9.9 in that directory.  I also found an "octave-config" binary in that directory and it tells me the following:

$ octave-config --m-site-dir
/usr/local/share/octave/2.9.9/site/m
$octave-config --oct-site-dir
/usr/local/libexec/octave/2.9.9/site/oct/i386-apple-darwin8.8.1
$ octave-config -p BINDIR
/usr/local/bin
$ octave-config -p API_VERSION
api-v22
$ octave-config -p CANONICAL_HOST_TYPE
i386-apple-darwin8.8.1
$ octave-config -p LIBDIR            
/usr/local/lib
$ octave-config -p LIBEXECDIR
/usr/local/libexec
$ octave-config -p OCTLIBDIR
/usr/local/lib/octave-2.9.9
$ octave-config -p DATADIR
/usr/local/share
$ octave-config -p ARCHLIBDIR
/usr/local/libexec/octave/2.9.9/exec/i386-apple-darwin8.8.1

Is that consistent with HMUG's octave-forge 2006.07.09?  It appears so from the "m" and "oct" dir information, right?

Cheers,
Paul.



On 17/12/2006, at 4:03 AM, Marius Schamschula wrote:

Paul,

Since I use my own, i.e. the HMUG ports, I can't tell you where the hpc build has installed octave.

However, you should be able to tell by typing 

which octave

The HMUG builds are installed under /usr/local, more specifically the components are installed under /usr/local/share/octave/2.9.9 and /usr/local/libexec/octave/2.9.9.

On Dec 15, 2006, at 6:41 AM, Paul Koufalas wrote:

G'day all.

I'm trying to get Octave + Octave Forge running on my new MacBook  
Pro Core 2 Duo (x86) running OS X 10.4.8 (Tiger)

I installed the binary Octave 2.9.9 from the HPC project without  
much trouble at all.  I then tried to install the binary Octave- 
Forge from the HMUG site and am having trouble getting it to work.   
Not sure if it's something simple (path problem), Mac specific (X11  
issue) or nefarious.

From having what looked to be a working Octave 2.9.9, this is what  
I get when I run Octave now:

GNU Octave, version 2.9.9 (i386-apple-darwin8.8.1).
Copyright (C) 2006 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).

error: couldn't link module /usr/local/libexec/octave/2.9.9/site/ 
oct/i386-apple-darwin8.8.1/octave-forge/gf.oct
error: evaluating argument list element number 2
error: near line 24 of file `/usr/local/share/octave/2.9.9/site/m/ 
octave-forge/comm/PKG_ADD'
error: source: error sourcing file `/usr/local/share/octave/2.9.9/ 
site/m/octave-forge/comm/PKG_ADD'
error: near line 11 of file `/usr/local/share/octave/2.9.9/m/ 
startup/octaverc'
octave:1> randint(2,2,2)
ans =

   1   0
   1   1

octave:2> which randint
randint is the user-defined function from the file
/usr/local/share/octave/2.9.9/site/m/octave-forge/comm/randint.m
octave:3> which gf
error: couldn't link module /usr/local/libexec/octave/2.9.9/site/ 
oct/i386-apple-darwin8.8.1/octave-forge/gf.octwhich: `gf' is the  
script file
/usr/local/libexec/octave/2.9.9/site/oct/i386-apple-darwin8.8.1/ 
octave-forge/gf
octave:3>
===

When I remove all of the Octave-Forge directories, Octave looks ok  
again.  Any help / advice with this is much appreciated.

Cheers,
Paul



_______________________________________________
Help-octave mailing list



Marius
--
Marius Schamschula                               Webmaster

        The Huntsville Macintosh Users Group
                    www.hmug.org

webmaster at hmug dot org    marius at schamschula dot com





reply via email to

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