[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
builing on OSX 10.8
From: |
c. |
Subject: |
builing on OSX 10.8 |
Date: |
Sat, 1 Jun 2013 11:49:59 +0200 |
Hi,
I'm trying to rebuild the development sources on OSX 10.8 after updating
dependencies via macports with port upgrade outdated.
I cnfigured with the following options:
../octave/configure \
CC=/opt/local/bin/gcc-mp-4.7 \
CFLAGS="-pipe -O2 -m64" \
CPPFLAGS="-D_THREAD_SAFE -I/opt/local/include" \
LDFLAGS="-L/opt/local/lib -m64" \
CXX=/opt/local/bin/g++-mp-4.7 \
CXXFLAGS="-pipe -O2 -m64" \
F77=/opt/local/bin/gfortran-mp-4.7 \
FFLAGS="-pipe -O2 -m64" \
LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.1 \
--with-lapack="-ldotwrp -Wl,-framework -Wl,Accelerate" \
--with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate" \
--prefix=/opt/octave/3.7 \
--enable-gui \
--enable-jit \
--disable-java \
--with-framework-carbon
but the build fails with
libtool: link: /opt/local/bin/g++-mp-4.7 -dynamiclib -o
.libs/liboctave.1.dylib -Wl,-force_load,array/.libs/libarray.a
-Wl,-force_load,cruft/.libs/libcruft.a
-Wl,-force_load,cruft/ranlib/.libs/libranlib.a
-Wl,-force_load,numeric/.libs/libnumeric.a
-Wl,-force_load,operators/.libs/liboperators.a
-Wl,-force_load,system/.libs/libsystem.a -Wl,-force_load,util/.libs/libutil.a
-Wl,-force_load,../libgnu/.libs/libgnu.a -L/opt/local/lib -lcholmod -lumfpack
-lsuitesparseconfig -lamd -lcamd -lcolamd -lccolamd -lcxsparse
/opt/local/lib/libarpack.dylib
-L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin12/4.7.3
-L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin12/4.7.3/../../..
-L/opt/local/lib/gcc47 -lcblas -lf77blas -latlas -lqrupdate
/opt/local/lib/libfftw3_threads.dylib /opt/local/lib/libfftw3.dylib
/opt/local/lib/libfftw3f_threads.dylib /opt/local/lib/libfftw3f.dylib -ldotwrp
-lreadline -lncurses /opt/local/lib/libpcre.dylib -ldl
/opt/local/lib/gcc47/libgfortran.dylib /opt/local/lib/gcc47/libquadmath.dylib
-lm -O2 -m64 -pthread -m64 -Wl,-framework -Wl,Accelerate -Wl,-framework
-Wl,Accelerate -pthread -install_name
/opt/octave/3.7/lib/octave/3.7.5/liboctave.1.dylib -compatibility_version 2
-current_version 2.1 -Wl,-single_module
ld: library not found for -lf77blas
if I remove "-lcblas -lf77blas -latlas" from the latter command the build
completes correctly.
Does anyone have an idea why liboctave is being linked to atlas even though
even though I chose
to link to accelerate when configuring?
c.
- builing on OSX 10.8,
c. <=