libedit

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


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


More information about the Glasgow-haskell-users mailing list