Backspace in ghci-6.10.1-candidate

Judah Jacobson judah.jacobson at gmail.com
Fri Oct 10 04:42:12 EDT 2008


On Thu, Oct 9, 2008 at 1:28 AM, Serge D. Mechveliani <mechvel at botik.ru> wrote:
> This is about testing  6.10.0.20081007.
>
> 1. DoCon works with it.
>
> 2. The question is how to `install' Backspace and UpArrow in ghci.
>
> I make it from source by 6.10-candidate and also by itself
> -- on Debian Linux.
> And  ghci  does not process  Backspace and UpArrow.
> ./configure  reported
>  configure:2303: checking whether ghc has editline package
>  configure:2314: result: no
>
> And the Debian system area shows the files
>  /usr/lib/libedit.so.2
>  /usr/lib/iceape/components/libeditor.so
>  /usr/lib/libedit.so.2.9
>

The editline package requires the header files, not just the .so
libraries.  You can get those by installing the editline-dev package.
(After which you'll need to rebuild ghc.)

Best,
-Judah


More information about the Glasgow-haskell-users mailing list