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]

Re: Problems with Readline and Guile 1.3, long


"Rafael E. Herrera" <raffo@neuronet.pitt.edu> writes:

> 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:

The problem here should be that it's not finding a term library (which
readline needs). The current cvs version of configure.in changes the
test from:

AC_CHECK_LIB(termcap, tgoto)

to:

for termlib in ncurses termcap ; do
   AC_CHECK_LIB(${termlib}, tgoto, 
                [LIBS="-l${termlib} $LIBS"; break])
done

which should work (you have to have autoconf & pals, though... if you
have those, a 'configure --enable-maintainer-mode; rm config.cache;
make' should do the trick). Or, you can pick up guile from cvs or
snapshot.

Russ, this would be a good one for the FAQ, it seems to come up an
awful lot.

-- 
Greg