From: Bruce N. <na...@sd...> - 2005-07-25 03:14:26
|
On Sun, Jul 24, 2005 at 08:57:35PM -0400, Sam Steingold wrote: > > * Bruce Nagel <an...@fq...t> [2005-07-24 20:39:55 +0000]: > > I seem to be having problems with readline (no command history or > > completion) after compiling 2.34 from source. The Clisp Debian > > package however still works fine. > is readline used by CLISP at all? > (see unixconf.h) The places readline appears in unixconf.h are: /* declaration of filename_completion_function() needs const in the first argument */ /* #undef READLINE_CONST */ /* The readline built-in filename completion function, either rl_filename_completion_function() or filename_completion_function() */ /* #undef READLINE_FILE_COMPLETE */ /* have a working modern GNU readline */ /* #undef HAVE_READLINE */ I'm not really familiar with C, and so I'm not too sure of the meaning of these. I'm imagining they're commented out because they aren't available to the Clisp compile? I do have both the libreadline4 and libreadline5 packages installed, so readline ought to be available. Also, I get errors during the build, though it continues and finishes (even to the point of allowing me to 'make install' without errors, and being able to run the new Clisp from /usr/local/bin/clisp. At one point it stops with: groff -Tdvi -mandoc clisp.1 > clisp.dvi groff: can't find `DESC' file groff:fatal error: invalid device `dvi' make: *** [clisp.dvi] Error 3 And after that with: Dictionary stack: --dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local GPL Ghostscript 8.01: Unrecoverable error, exit code 1 make: *** [clisp.pdf] Error 1 And then finishes (running 'make' each time to get it going agan, that is). 'make install' after that succeeds, but the resulting Clisp does not have either command history or command completion. If I try to use --with-readline explicitly with ./configure and ./makemake, I get the error: makemake: configure failed to detect readline I don't know if this is an error in my system setup or in Clisp's compilation procedure. Is there other info I can offer to help clarify? Thanks, Bruce -- na...@sd... www.not-art.org SDF Public Access UNIX System - http://sdf.lonestar.org The Mouser felt a compulsive urge to take out his dagger and stab himself in the heart. A man had to die when he saw something like that. (Fritz Leiber) |