|
From: | Carlo de Falco |
Subject: | Re: Installing Octave 2.9.9 on a Mac |
Date: | Wed, 20 Dec 2006 20:36:28 +0100 |
On 20/dic/06, at 18:24, Matthias Brennwald wrote:
On 20.12.2006, at 02:06, John W. Eaton wrote:On 19-Dec-2006, Paul Kienzle wrote: | If that doesn't work, you can try adding the directories on | the configure line itself: | | ./configure CFLAGS="-O2 -g -I/usr/local/include" \ | CXXFLAGS="-O2 -g -I/usr/local/include" LDFLAGS="-L/usr/local/lib" That should work, butconfigure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/ lib"is better because setting CPPFLAGS works for gcc and g++ with just theone variable, you don't have to know what the default CFLAGS and CXXFLAGS values are. The default for CPPFLAGS is empty. jwe
I did the following on OSX 10.4.8, many options may be redundant but it works fine: ---------------------------------- ./configure \ LIBS="-lcamd -lmetis -lreadline.4.3 " \LDFLAGS=" -L/opt/metis/current/lib -L/sw/lib -L/opt/ufsparse/ suitsparse/lib " \
CPPFLAGS="-I/sw/include -I/opt/ufsparse/suitsparse/include " \ \ CFLAGS="-O3 -no-cpp-precomp -fexceptions -fno-common " \ \ DYLD_LIBRARY_PATH="/sw/lib/ " \ \ --prefix=/opt/octave/2.9.9 \ --enable-shared --disable-static \ --with-lapack="-framework Accelerate" -------------------------------------- I have libreadline.4.3 installed in /sw/lib via fink. Hope this helps, c.
[Prev in Thread] | Current Thread | [Next in Thread] |