|
From: | Marius Schamschula |
Subject: | Re: Latest build problems with octave and OS X |
Date: | Sat, 18 Dec 2004 13:23:05 -0600 |
Joe, This my configure command for octave 2.1.64 (non ATLAS version):FLIBS='-L/usr/local/lib/ -lg2c' LIBS='-lsz' CPPFLAGS=-no-cpp-precomp ./configure \
--enable-dl --enable-shared --with-hdf5 --with-fftw Note: You may not have fftw or hdf5 (which requires szip).See <http://www.hmug.org/pub/MacOS_X/BSD/Applications/Science/octave/> for more details.
On Dec 18, 2004, at 9:25 AM, Joe Koski wrote:
on 12/17/04 9:20 PM, Paul Kienzle at address@hidden wrote:It looks like you are missing the fortan libraries. Try something likeLIBS=-lf2c ./configure or LIBS=-lg2c ./configureSomeone with a more recent version of XCode can give you better advice.- PaulThanks for the suggestions. OK, so far I have tried LIBS=-lf2c ./configure And it goes through all of the g++ compilations before it fails, but I suspect that it is compiling a statically linked version, which I don'twant. The libf2c.a is in /usr/local/lib because I have f2c installed on mymachine. It wouldn't exist on a "normal" Mac. I have also tried (with various make file errors occurring later): LIBS=-lg2c ./configure LIBS=-lg2c ./configure --enable-shared --enable-dl --disable-static LIBS=-lg2c ./configure --enable-shared --disable-static LIBS=-lf2c ./configure --enable-shared --disable-static etc. Anybody have the proper etiquette for the ./configure arguments for an octave build on a Mac?The configure phase always finishes with a complaint that says DejaGNU isn't there, so I won't be able to run "make check," but the initial make is wherethe build fails. JoeOn Dec 17, 2004, at 10:54 PM, Joe Koski wrote:I'm posting this to both the octave-help and the Apple unix-porting listsbecause this type of problem straddles both camps. The original octavemakefile is usually done for Linux with a bash shell as a basis. Are thereany ideas about how to fix the build to work on a Mac?The build was done on OS X 10.3.6 with Xcode 1.5 and the November 2004gcc 3.3 update installed. In compiling the latest sourceforge version of octave-2.1.64, the Mac build fails with the following symbol problems ld: warning multiple definitions of symbol _xerbla_ blas-xtra/xerbla.o definition of _xerbla_ in section (__TEXT,__text)/System/Library/Frameworks/Accelerate.framework/Versions/A/ Frameworks/vecLib .framework/Versions/A/libBLAS.dylib(single module) definition of _xerbla_ ld: Undefined symbols: _d_sign _pow_dd _do_fio _e_wsfe _s_wsfe _s_copy _e_wsfi _s_cat _s_wsfi _s_stop _pow_di _do_lio _e_wsle _s_wsle _pow_ri _r_sign _i_len _i_indx _s_cmp _d_int _d_mod /usr/bin/libtool: internal link edit command failed make[3]: *** [libcruft.dylib] Error 1 make[2]: *** [libraries] Error 2 make[1]: *** [libcruft] Error 2 make: *** [all] Error 2 _xerbla is apparently the BLAS error handler routine. Also, what library is missing for the other routines on the Mac? What other library is needed? How do we tell the Mac version to use the native Mac stuff? Thanks for any help. Joe
------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |