From bug-request at octave dot org Wed Jan 26 20:50:55 2005 Subject: Re: Serious memory leak in octave (this may be a duplicate bug report) From: Dan Nessett To: "John W. Eaton" CC: Per Persson , Martin Costabel , Date: Wed, 26 Jan 2005 19:47:36 -0600 It looks like this bug is a fink problem. I have filed a bug report with fink. Dan On 1/25/05 11:34 AM, "John W. Eaton" wrote: > On 25-Jan-2005, Dan Nessett wrote: > > | I can't seem to find the right combination of configure options to get a > | full version of octave built with libncurses coming from /usr/lib. I have > | tried: > | > | ./configure --enable-shared --enable-dl --disable-static > | LDFLAGS="/usr/lib/libncurses.5.dylib /sw/lib/libreadline.4.dylib > | /sw/lib/libhdf5.0.dylib" FLIBS=/sw/lib/libg2c.a > | > | ./configure --enable-shared --enable-dl --disable-static > | LDFLAGS="/usr/lib/libncurses.5.dylib /sw/lib/libreadline.4.dylib > | /sw/lib/libhdf5.0.dylib -I/sw/include/readline.h" FLIBS=/sw/lib/libg2c.a > | > | and > | > | ./configure --enable-shared --enable-dl --disable-static > | LDFLAGS="/usr/lib/libncurses.5.dylib /sw/lib/libreadline.a > | /sw/lib/libhdf5.0.dylib -I/sw/include/readline.h" FLIBS=/sw/lib/libg2c.a > | > | All of these result in the following error during the configure phase: > | > | 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 > | > | I would like to have a full workaround before I report the bug to Fink. Any > | suggestions? > > You should look in config.log to see why the readline check is > failing. My guess is that some function is not defined or declared > properly. Another guess is that -I/sw/include/readline.h is not > right. First, a -I option doesn't make much sense in LDFLAGS, and > second, the directory name looks wrong (I would expect > /sw/include/readline, not /sw/include/readline.h). > > jwe ------------------------------------------------------------- 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 -------------------------------------------------------------