[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling octave-forge on mac os 10.4
From: |
Marius Schamschula |
Subject: |
Compiling octave-forge on mac os 10.4 |
Date: |
Sun, 15 May 2005 16:39:01 -0500 |
Hi all,
Building octave and octave-forge under Mac OS X 10.4 has been, and
continues to be, an adventure.
I've built octave 2.1.70 with the usual libraries (fftw, hdf5, readline
5) and gnuplot. This required me to build gcc 3.3, since Apple's gcc
4.0, together with gfortran built on top of that is broken (internal
compiler errors... in g++). I had a little more luck with Apple's gcc
3.3 together with g77 built using it. However, building gcc 3.3 from
source (gcc, g++, g77) proved successful. This combination is also
required to build a version of fftw that octave wants to use.
Now to my current problem:
I built gsl, qhull, cln and GiNaC (again using my own gcc 3.3) an
wanted to configure octave forge.
For some reason I don't understand there is an issue with g++ and the
bundle loader. I get an error message of the form:
/usr/local/bin/g++ -bundle -bundle_loader /usr/local/bin/octave-2.1.70
-o chol.oct chol.o ov-re-tri.o -L/usr/local/lib/octave-2.1.70
-loctinterp -loctave -lcruft -L/usr/local/lib/ -lmpi -llam
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib -lfftw3
-lreadline -lncurses -lmpi -lhdf5 -lz -lm -L/usr/local/lib/
-L/usr/local/lib/gcc-lib/powerpc-apple-darwin8.0.0/3.3.3
-L/usr/local/lib/gcc-lib/powerpc-apple-darwin8.0.0/3.3.3/../../.. -lmpi
-llam -lhdf5 -lz -lm -lfrtbegin -lg2c -lSystem
g++: couldn't run `/usr/local/bin/undle_loader-gcc-3.3.3': No such file
or directory
From mkoctfile:
: ${DL_LDFLAGS="-bundle -bundle_loader /usr/local/bin/octave-2.1.70"}
I'm stumped,
Any ideas would be greatly appreciated,
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
-------------------------------------------------------------