libgmp-related build error

Ian Lynagh ian at well-typed.com
Sun Apr 28 21:13:36 CEST 2013


On Thu, Apr 25, 2013 at 06:08:07PM -0400, Andreas Voellmy wrote:
> I just tried to grab the latest GHC code so that I can test a bug fix for
> IO manager on OS X, but I ran into build errors.  The failing command was:
> 
> gcc -E  -m32   -m32 -fno-stack-protector
>  -Ilibraries/integer-gmp/gmp
> -Ilibraries/integer-gmp/mkGmpDerivedConstants/dist   -MM
> libraries/integer-gmp/mkGmpDerivedConstants/mkGmpDerivedConstants.c -MF
> libraries/integer-gmp/mkGmpDerivedConstants/dist/build/.depend.c_asm.bit
> libraries/integer-gmp/mkGmpDerivedConstants/mkGmpDerivedConstants.c:15:17:
> error: gmp.h: No such file or directory

I've just pushed a patch to fix this. I'd been caught out by validate
not cleaning gmp, so my validate tree already had a built gmp in it.


Thanks
Ian




More information about the ghc-devs mailing list