[Haskell-beginners] cabal install readline: Missing HSReadlline.h on Mac OS X Leopard

Khudyakov Alexey alexey.skladnoy at gmail.com
Mon May 25 07:41:16 EDT 2009


On Sunday 24 of May 2009 19:49:08 man wrote:
> I got this error installing readline (I really was installing lambdabot, it
> depends on readline):
>
> config.status: creating config.mk
> config.status: creating readline.buildinfo
> config.status: creating include/HsReadlineConfig.h
> __cabal: Missing dependency on a foreign library:__
> * Missing header file: HsReadline.h
> This problem can usually be solved by installing the system package that
> provides this library (you may need the "-dev" version). If the library is
> already installed but in a non-standard location then you can use the flags
> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
> cabal: Error: some packages failed to install:
>
I suppose that cabal could not find headers for readline. Check that they are 
installed and cabal is able to find them. 



More information about the Beginners mailing list