Integrating editline with ghc

Christian Maeder Christian.Maeder at dfki.de
Tue Jan 22 04:09:21 EST 2008


Judah Jacobson wrote:
> On OS X 10.4, I have readline.h,v 1.11 as the libedit readline
> compatibility header.  Can you please try linking a simple program
> that uses System.Console.Editline.Readline on your Solaris machine and
> see if it throws up any link errors?  If so, I may be able to fix
> that.

I wasn't able to install your editline-0.1 package under Solaris. Our
installed files are:

 /usr/local/lib/libeditline.so -> libeditline.so.0.0.0
 /usr/local/lib/libeditline.so.0 -> libeditline.so.0.0.0
 /usr/local/lib/libeditline.so.0.0.0
 /usr/local/lib/libeditline.a
 /usr/local/lib/libeditline.la
 /usr/local/include/editline.h

Christian

checking for gcc option to accept ANSI C... none needed
checking for tputs in -lncurses... yes
checking for el_init in -ledit... no
checking for readline in -ledit... no
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking editline/readline.h usability... no
checking editline/readline.h presence... no
checking for editline/readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
configure: error: editline not found, so this package cannot be built


More information about the Glasgow-haskell-users mailing list