On Thu, Mar 20, 2008 at 01:29:26PM -0400, Paul Jarc wrote:
Ian Lynagh
wrote: On Sun, Mar 16, 2008 at 12:05:03AM -0400, Paul Jarc wrote:
Second attempt: CPPFLAGS, LDFLAGS and mk/build.mk as above, and I also gave --with-gmp-{includes,libraries} to ./configure. This ends with the same error.
What happens if you only use the flags?
Do you mean CPPFLAGS and LDFLAGS, without putting anything in mk/build.mk or specifying --with-gmp-*? That fails here:
Sorry, I meant --with-gmp-{includes,libraries}.
if ifBuildable/ifBuildable hpc; then \ cd hpc && setup/Setup makefile -f GNUmakefile; \ fi In file included from /fs/pkgs/mount/package/host/code.dogmap.org/foreign/ghc-6.8.2+spf+3/compile/src/ghc-6.8.2/includes/Stg.h:150, from /fs/pkgs/mount/package/host/code.dogmap.org/foreign/ghc-6.8.2+spf+3/compile/src/ghc-6.8.2/includes/Rts.h:19, from Reflect.hsc:18: /fs/pkgs/mount/package/host/code.dogmap.org/foreign/ghc-6.8.2+spf+3/compile/src/ghc-6.8.2/includes/Regs.h:28:17: error: gmp.h: No such file or directory
This seems to be coming from an invocation of hsc2hs
I think this is something we fixed in the 6.8 darcs branch since releasing 6.8.2. Try building a recent 6.8 branch snapshot instead: http://www.haskell.org/ghc/dist/stable/dist/ Thanks Ian