[GHC] #3784: --with-gmp-includes and --with-gmp-libraries don't
affect the building process of
integer-gmp/cbits/mkGmpDerivedConstants
GHC
trac at galois.com
Wed Dec 23 21:36:00 EST 2009
#3784: --with-gmp-includes and --with-gmp-libraries don't affect the building
process of integer-gmp/cbits/mkGmpDerivedConstants
---------------------------------+------------------------------------------
Reporter: PHO | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 6.12.1 | Keywords: integer-gmp
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Building GHC failed
---------------------------------+------------------------------------------
Passing --with-gmp-includes and --with-gmp-libraries to the libraries
/integer-gmp/configure doesn't affect the building process of
cbits/mkGmpDerivedConstants:
{{{
"/usr/bin/gcc" libraries/integer-gmp/cbits/mkGmpDerivedConstants.c -o
libraries/integer-gmp/cbits/mkGmpDerivedConstants
libraries/integer-gmp/cbits/mkGmpDerivedConstants.c:15:17: error: gmp.h:
No such file or directory
}}}
I could solve this problem by appendding the following line to libraries
/integer-gmp/gmp/config.mk.in but I'm not sure this is the best way:
{{{
libraries/integer-gmp_CC_OPTS += @CPPFLAGS@ @LDFLAGS@
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3784>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list