[Techtalk] Trying to get octave to compile.

Sue Stones suzo at spin.net.au
Wed Mar 17 19:01:17 EST 2004


I am trying to get octave to compile. But have a number of problems. The first 
is that it is asking for GNU readline when running the configure sctipt.  So 
i found GNU Readline 4.3 and installed it, but it makes no difference.

'which readline" give me a lot of stuff including 
/lib/libreadline.so.4
/lib/libreadline.so.4.1
/lib/libreadline.so.4.2
/lib/libreadline.so.4.3

I would have thought this is what octave is looking for.

I am at a loss as what to do, where to look or what the problem is.  I have 
included lines from the config.log file and the configure file since these 
must be where the searching is taking place.  Does anyone know what is going 
on here?

sue


grep on the config.log gives the following
________________________________
grep "readline" config.log
configure:17980: checking for rl_set_keyboard_input_timeout in -lreadline
configure:18017: gcc -o conftest -g -O2   conftest.c -lreadline   -lncurses 
-lm  >&5
/usr/bin/ld: cannot find -lreadline
configure:18054: error: this is fatal unless you specify --disable-readline
ac_cv_lib_readline_rl_set_keyboard_input_timeout=no
---------------------------------------------------------------

grep on configure give the following
______________________________________________
 grep "readline" config.log
configure:17980: checking for rl_set_keyboard_input_timeout in -lreadline
configure:18017: gcc -o conftest -g -O2   conftest.c -lreadline   -lncurses 
-lm  >&5
/usr/bin/ld: cannot find -lreadline
configure:18054: error: this is fatal unless you specify --disable-readline
ac_cv_lib_readline_rl_set_keyboard_input_timeout=no
[sue at localhost octave-2.1.50]$ grep "readline" configure
  --enable-readline       use readline library (default is yes)
  # Check whether --enable-readline or --disable-readline was given.
if test "${enable_readline+set}" = set; then
  enableval="$enable_readline"
       warn_readline="command editing and history features require GNU 
Readline"
    echo "$as_me:$LINENO: checking for rl_set_keyboard_input_timeout in 
-lreadline" >&5
echo $ECHO_N "checking for rl_set_keyboard_input_timeout in -lreadline... 
$ECHO_C" >&6
if test "${ac_cv_lib_readline_rl_set_keyboard_input_timeout+set}" = set; then
LIBS="-lreadline  $LIBS"
  ac_cv_lib_readline_rl_set_keyboard_input_timeout=yes
ac_cv_lib_readline_rl_set_keyboard_input_timeout=no
echo "$as_me:$LINENO: result: 
$ac_cv_lib_readline_rl_set_keyboard_input_timeout" >&5
echo "${ECHO_T}$ac_cv_lib_readline_rl_set_keyboard_input_timeout" >&6
if test $ac_cv_lib_readline_rl_set_keyboard_input_timeout = yes; then
      LIBREADLINE="-lreadline"
      { { echo "$as_me:$LINENO: error: this is fatal unless you specify 
--disable-readline" >&5
echo "$as_me: error: this is fatal unless you specify --disable-readline" 
>&2;}
  Include support for GNU readline:   $USE_READLINE
  Include support for GNU readline:   $USE_READLINE
if test -n "$warn_readline"; then
  { echo "$as_me:$LINENO: WARNING: $warn_readline" >&5
echo "$as_me: WARNING: $warn_readline" >&2;}
----------------------------------------------------------------------------


More information about the Techtalk mailing list