libedit

Judah Jacobson judah.jacobson at gmail.com
Fri Oct 10 02:27:40 EDT 2008


On Thu, Oct 9, 2008 at 5:30 AM, Christian Maeder
<Christian.Maeder at dfki.de> wrote:
> Hi Judah,
>
> after installing rpm packages
>
>  libedit0-2.10.snap20070831-5
>  libedit-devel-2.10.snap20070831-5
>
> I get the error below for "cabal install editline"
>
> Cheers Christian
>
> checking editline/readline.h usability... yes
> checking editline/readline.h presence... yes
> checking for editline/readline.h... yes
> checking for sign of read_history result on error... positive
> configure: creating ./config.status
> config.status: creating editline.buildinfo
> config.status: creating include/HsEditlineConfig.h
> Preprocessing library editline-0.2...
>
> In file included from Editline.hsc:52:0:
>
> include/HsEditline.h:11:0:  error: conflicting types for 'el_get'
>
> /usr/include/histedit.h:112:0:
>     error: previous declaration of 'el_get' was here
> compiling dist/build/System/Console/Editline_hsc_make.c failed
> command was: /home/linux-bkb/ghc/ghc-6.8.3/bin/ghc -c -package
> base-3.0.2.0 -Iinclude dist/build/System/Console/Editline_hsc_make.c -o
> dist/build/System/Console/Editline_hsc_make.o
> cabal: Error: some packages failed to install:
> editline-0.2 failed during the building phase. The exception was:
> exit: ExitFailure 1
>

Hi Christian,

I think this is fixed in darcs (http://code.haskell.org/editline); can
you try seeing if that works for you?

I'll work on getting the updated editline package onto hackage as well.

Thanks,
-Judah


More information about the Glasgow-haskell-users mailing list