help-octave
[Top][All Lists]
Advanced

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

Re: Installing Octave 2.9.9 on a Mac


From: marius173
Subject: Re: Installing Octave 2.9.9 on a Mac
Date: Wed, 20 Dec 2006 20:18:37 +0000

 -------------- Original message ----------------------
From: Joe Koski <address@hidden>
> 
> 
> 
> on 12/20/06 12:06 PM, Matthias Brennwald at address@hidden
> wrote:
> 
> > 
> > On 19.12.2006, at 14:03, Matthias Brennwald wrote:
> > 
> >> Dear all,
> >> 
> >> after the recent talk on the Octave help list about installing
> >> 2.9.9 on Macs I thought I'd give it a try, too. Since it seems a
> >> less-than-optimal idea to combine the HPC binary with the HMUG
> >> version of Octave forge I tried the following:
> >> 
> >> 
> >> 1. Install the HMUG version of Octave 2.9.9.
> >> I downloaded the archive from http://www.hmug.org/pub/MacOS_X/BSD/
> >> Applications/Math/octave/octave-2.9.9-2-osx4-ppc.tar.gz and tried
> >> to install it according to the instructions at http://www.hmug.org/
> >> pub/MacOS_X/BSD/Applications/Math/octave/README.octave-2.9.9-2.osx4-
> >> ppc.html . That failed miserably:
> >> 
> >> Pizza:~/Desktop mbrennwa$ mv octave-2.9.9 /tmp
> >> Pizza:~/Desktop mbrennwa$ sudo make install
> >> Password:
> >> Sorry, try again.
> >> Password:
> >> make: *** No rule to make target `install'.  Stop.
> >> 
> >> 
> >> 2. Compiling from sources.
> >> I downloaded the sources from ftp://ftp.octave.org/pub/octave/
> >> bleeding-edge/octave-2.9.9.tar.gz and tried to install it according
> >> to the instructions in INSTALL:
> >> 
> >> Pizza:~/Desktop/octave-2.9.9 mbrennwa$ ./configure
> >> ....lots of stuff here....
> >> checking for rl_set_keyboard_input_timeout in -lreadline... no
> >> configure: WARNING: I need GNU Readline 4.2 or later
> >> configure: error: this is fatal unless you specify --disable-readline
> >> 
> >> I have readline installed from Fink.
> >> 
> >> 
> >> Can someone help me sort this out?
> >> 
> >> Also, what needs to happen to make Octave 2.9 appear on Fink? Fink
> >> is just way more convenient than the above...
> >> 
> >> 
> >> Matthias
> > 
> > I tried again to build Octave 2.9.9 from the sources. First I
> > installed the latest readline from the GNU website. With this,
> > configure completed without errors, but some warnings:
> > 
> > configure: WARNING: UMFPACK not found.  This will result in some lack
> > of functionality for sparse matrices.
> > configure: WARNING: COLAMD not found. This will result in some lack
> > of functionality for sparse matrices.
> > configure: WARNING: CCOLAMD not found. This will result in some lack
> > of functionality for sparse matrices.
> > configure: WARNING: CHOLMOD not found. This will result in some lack
> > of functionality for sparse matrices.
> > configure: WARNING: CXSparse not found. This will result in some lack
> > of functionality for sparse matrices.
> > configure: WARNING: HDF5 library not found.  Octave will not be able
> > to save or load HDF5 data files.
> > 
> > I decided to go without sparse matrix support for the moment. So I
> > went on to make:
> > 
> > Pizza:~/Desktop/octave-2.9.9 mbrennwa$ sudo make
> > ...lots of stuff here...
> > ...ocal/lib -L/usr/local/lib/gcc/powerpc-apple-darwin7.9.0/3.4.4 -L/
> > usr/local/lib/gcc/powerpc-apple-darwin7.9.0/3.4.4/../../.. -lz -lm -
> > lfrtbegin -lg2c
> > ld: Undefined symbols:
> > restFP
> > saveFP
> > /usr/bin/libtool: internal link edit command failed
> > make[2]: *** [liboctave.dylib] Error 1
> > make[1]: *** [liboctave] Error 2
> > make: *** [all] Error 2
> > 
> > 
> > Now what?
> > 
> > 
> > Matthias
> > 
> Matthias,
> 
> It appears that you are using OS X 10.3.9. Correct? If so you need to add
> something like export LIBS=-lcc_dynamic before you configure. If I recall
> correctly, the missing saveFP and restFP reside in libcc_dynamic.a that
> should be located in your /usr/lib. That library has disappeared from OS X
> 10.4.x, but those routines now apparently reside elsewhere.
> 
> Joe

You'll need 

-L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/2.95.2 -lcc_dynamic

Marius



reply via email to

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