Christian Maeder Christian.Maeder at
Thu Oct 9 08:30:57 EDT 2008

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- -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

More information about the Glasgow-haskell-users mailing list