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
> 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'
> 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-220.127.116.11 -Iinclude dist/build/System/Console/Editline_hsc_make.c -o
> cabal: Error: some packages failed to install:
> editline-0.2 failed during the building phase. The exception was:
> exit: ExitFailure 1
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.
More information about the Glasgow-haskell-users