This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I'm tryng to compile Guile in a linux box with SuSE 6.0, egcs 2.91.60 and the readline library from Bash 2.02.1(1). At the configure stage, the test for readline fails with this log message: ========= config.log configure:2495: checking for readline in -lreadline configure:2514: gcc -o conftest -g -O2 conftest.c -lreadline -lm 1>&5 /usr/lib/libreadline.a(display.o): In function `rl_redisplay': display.o(.text+0xb8f): undefined reference to `tputs' /usr/lib/libreadline.a(display.o): In function `update_line': display.o(.text+0x10e2): undefined reference to `tputs' /usr/lib/libreadline.a(display.o): In function `_rl_move_cursor_relative': display.o(.text+0x13b9): undefined reference to `tputs' /usr/lib/libreadline.a(display.o): In function `_rl_move_vert': ... [A lot of "undefined reference to `something' lines] ... collect2: ld returned 1 exit status configure: failed program was: #line 2503 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char readline(); int main() { readline() ; return 0; } ========= config.log The ouput in the console was: ... checking for readline in -lreadline... no checking for rl_clear_signals... no checking for rl_cleanup_after_signal... no checking for rl_getc_function pointer in readline... yes ... Since I got no message in the sense that the build would fail I did a make. Well, the build failed. It did in the directory ./guile-1.3/libguile with: gcc -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes -o .libs/guile guile.o -Wl,--rpath -Wl,/opt/gsupport/lib .libs/libguile.so -ldl -lm -ldl -lm .libs/libguile.so: undefined reference to `rl_deprep_term_function' .libs/libguile.so: undefined reference to `rl_instream' .libs/libguile.so: undefined reference to `rl_redisplay' ...[a lot of undefined references] .libs/libguile.so: undefined reference to `_rl_init_argument' collect2: ld returned 1 exit status The file readline.c didn't fail to compile, though. The Readline library is just a static one, /usr/lib/libreadline.a, there is nop dynamic one. My questions are: Is the Readline provided with Bash 2.02 appropriate for this realease of guile? Can anybody give a recommendation? The configure script doesn't seem to adapt the build for when the readline testing fails. Any help will ba appreciated. Thanks. -- Rafael Herrera Laboratory for Computational Neuroscience University of Pittsburgh http://www.neuronet.pitt.edu/~raffo