[jhc] Compiling JHC from Darcs-HEAD
john at repetae.net
Tue Nov 3 23:22:41 EST 2009
On Tue, Nov 03, 2009 at 12:51:04AM +0100, Henning Thielemann wrote:
> Recently I tried to compile some programs with JHC-0.7.2 and got errors
> like missing include of errno.h and after fixing this I got runtime
> errors. I wanted to know, whether JHC from darcs repository still has
> these problems. I have successfully installed Darcs-2, DrIFT,
> texinfo/makeinfo. Now I try compiling JHC and it fails with:
Hi, the missing errno.h is a known bug. The issue is that foreign
includes of pointers don't propagate the header files properly.
> jhc$ make
> make all-am
> make: Entering directory `/home/thielema/programming/haskell/jhc'
> make: *** No rule for building target »src/Doc/Attr.hs«
> make: Leaving directory `/home/thielema/programming/haskell/jhc'
> make: *** [all] Fehler 2
> (I have translated some messages from German to English, thus they may
> differ from the ones you get from 'make' in other countries.)
This is probably because you didn't pull the additional Doc repository,
'make darcs-fetch' should pull it down.
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
More information about the jhc