[Top][All Lists]

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

Re: Installing Octave 2.9.9 on a Mac

From: Matthias Brennwald
Subject: Re: Installing Octave 2.9.9 on a Mac
Date: Wed, 20 Dec 2006 18:24:52 +0100

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, but

  configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

is better because setting CPPFLAGS works for gcc and g++ with just the
one variable, you don't have to know what the default CFLAGS and
CXXFLAGS values are.  The default for CPPFLAGS is empty.


Ok, I tried that, but still no luck:

Pizza:~/Desktop/octave-2.9.9 mbrennwa$ ls -la /usr/local/lib/libread*
-r-xr-xr-x 1 root wheel 466664 Dec 19 12:44 /usr/local/lib/ libreadline.5.2.dylibTEMPOTHERNAME lrwxr-xr-x 1 root wheel 21 Dec 19 12:44 /usr/local/lib/ libreadline.5.dylib -> libreadline.5.2.dylib lrwxr-xr-x 1 root wheel 21 Dec 19 20:19 /usr/local/lib/ libreadline.a -> /sw/lib/libreadline.a lrwxr-xr-x 1 root wheel 21 Dec 19 12:44 /usr/local/lib/ libreadline.dylib -> libreadline.5.2.dylib

and then:

Pizza:~/Desktop/octave-2.9.9 mbrennwa$ ./configure CPPFLAGS="-I/usr/ local/include" LDFLAGS="-L/usr/local/lib"
...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

Any thoughts?


Matthias Brennwald
L├Ągernstrasse 6
CH 8037 Z├╝rich
+41 (0)44 364 17 03

reply via email to

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