Skip to content

Error building HEAD on OS X: missing gmp.h

I got a fresh tree from darcs of ghc+libraries, ran ./configure and make. Make failed with the following error:

"inplace/bin/mkdependC" -f libraries/integer-gmp/dist-install/build/.depend-v.tmp   --  -O -g -O2  -Ilibraries/integer-gmp/.   -I/Users/judah/Programming/dontbackup/ghc/includes -I/Users/judah/Programming/dontbackup/ghc/libffi/build/include     -- libraries/integer-gmp/cbits/float.c  || ( "rm" -f libraries/integer-gmp/dist-install/build/.depend-v; exit 1 )
libraries/integer-gmp/cbits/float.c:13:17: error: gmp.h: No such file or directory
libraries/integer-gmp/cbits/float.c:13:17: error: gmp.h: No such file or directory

Actually, this error did not cause the build to stop, but it was the earliest that I could find in the log (attached).

Trac metadata
Trac field Value
Version 6.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information