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: Guile on Linux?


jos runarko <josr0633@cetus.zrz.TU-Berlin.DE> writes:

|   maybe I am missing something, but when I try to compile on my SUSE
|   Linux the following error appear.

Please, apply the following patch and run `autoconf' before invoking
./configure again (for the background, have a look at the installation
manual, index term `curses'):

--- configure.in
+++ configure.in	1999/02/05 14:45:37
@@ -80,8 +80,12 @@
 if test $ac_cv_func_connect = no; then
     AC_CHECK_LIB(socket, connect)
 fi
-AC_CHECK_LIB(termcap, tgoto)
-AC_CHECK_LIB(readline, readline)
+dnl should be check for curses terminfo termlib, too?
+for termlib in ncurses termcap ; do
+   AC_CHECK_LIB(${termlib}, tgoto, 
+    [LIBS="-l${termlib} $LIBS"; break])
+done
+AC_CHECK_LIB(readline, main)
 AC_CHECK_FUNCS(rl_clear_signals rl_cleanup_after_signal)
 
 AC_CACHE_CHECK([for rl_getc_function pointer in readline],

-- 
Karl Eichwalder