[darcs-users] readline.h no such file or directory

Anders Höckersten chucky at dtek.chalmers.se
Sat Nov 27 16:16:04 UTC 2004


Dominic Steinitz wrote:

>I tried installing darcs but failed with the following.
>
>Can you cc me in on any responses as I am not subscribed to the list.
>
>Thanks, Dominic.
>
>[dom at tility darcs-1.0.0]$ make
>Rebuild dependencies ...
>ghc  -cpp  -package unix -package parsec -O -funbox-strict-fields  -Wall 
>-Werror -package util -I. -DHAVE_CURSES -c Workaround.hs
>In file included from /home/dom/tmp/ghc4872.hc:7:
>/usr/lib/ghc-6.2.1/include/HsReadline.h:5:31: readline/readline.h: No such 
>file or directory
>/usr/lib/ghc-6.2.1/include/HsReadline.h:6:30: readline/history.h: No such file 
>or directory
>make: *** [Workaround.o] Error 1
>[dom at tility darcs-1.0.0]$
>  
>
That's a problem with your GHC installation I believe. Specifically, GHC 
needs readline, but cannot find its include files. Do you have readline 
properly installed? How did you install GHC?

Anders




More information about the darcs-users mailing list