Ticket #3784 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

--with-gmp-includes and --with-gmp-libraries don't affect the building process of integer-gmp/cbits/mkGmpDerivedConstants

Reported by: PHO Owned by: igloo
Priority: normal Milestone: 6.12.2
Component: libraries/base Version: 6.12.1
Keywords: integer-gmp Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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@

Change History

Changed 3 years ago by igloo

  • owner set to igloo
  • milestone set to 6.12.2

Thanks for the report; I'll take a look.

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Fixed by:

Mon Jan 18 19:18:31 GMT 2010  Ian Lynagh <igloo@earth.li>
  * Pass GMP paths when compiling mkGmpDerivedConstants; fixes trac #3784
Note: See TracTickets for help on using tickets.