From: Gerhard E. <ec...@ie...> - 2009-03-09 10:33:17
|
Dear Martin, thank you very much for the fix. Sorry to bother you with another detail. When trying to compile fooelk, I can't get readline to work: > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - > I. -I../.. -I../../include -I../../include -I/sw/include - > DSCM_DIR="\"/usr/local/share/fooelk\"" -DLIB_DIR="\"/usr/local/lib/ > fooelk\"" -Wall -g -O2 -MT completion.lo -MD -MP -MF .deps/ > completion.Tpo -c -o completion.lo completion.c > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/ > sw/include -DSCM_DIR=\"/usr/local/share/fooelk\" -DLIB_DIR=\"/usr/ > local/lib/fooelk\" -Wall -g -O2 -MT completion.lo -MD -MP -MF .deps/ > completion.Tpo -c completion.c -fno-common -DPIC -o .libs/ > completion.o > completion.c: In function 'erl_guess_completion': > completion.c:110: warning: implicit declaration of function > 'rl_completion_matches' > completion.c:110: error: 'rl_compentry_func_t' undeclared (first use > in this function) > completion.c:110: error: (Each undeclared identifier is reported > only once > completion.c:110: error: for each function it appears in.) > completion.c:110: error: syntax error before ')' token > make[3]: *** [completion.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 I configured with ./configure --enable-gnu-readline and got Elk configuration summary ------------------------- build C++ plugins: yes libgdbm support: no X11 support: no Xaw support: no Motif support: no readline support: yes (-lreadline ) use garbage colllector: stopncpy default heap size: 16384 build documentation: yes Which version of readline should be used? I have this one installed: readline @5.2.012_1 (active) Best regards, Gerhard |