Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39109 closed defect (fixed)

ppl: configure: error: Cannot find GMP version 4.1.3 or higher.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: tiger leopard Cc: larryv (Lawrence Velázquez)
Port: ppl

Description

Upgrading ppl 1.0_0 to 1.0_1 on my Tiger PPC machine fails as follows:

checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.
$ port installed gmp
The following ports are currently installed:
  gmp @5.0.5_0 (active)

Attachments (1)

main.log (16.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

The config.log says:

configure:9481: checking for the GMP library version 4.1.3 or above
configure:9570: /usr/bin/g++-3.3 -o conftest  -g -O2 -frounding-math -pipe -O2 -I/Volumes/Data/macports/tiger/include  -L/Volumes/Data/macports/tiger/lib conftest.cpp   -lgmpxx -lgmp >&5
cc1plus: error: unrecognized option `-frounding-math'
configure:9570: $? = 1
configure: program exited with status 1

The port deliberately blacklists gcc-4.0, leading MacPorts to try gcc-3.3 as an alternative; obviously this works even less well. The port should also blacklist gcc-3.3, and until MacPorts 2.2 is released, add apple-gcc-4.2 as a fallback.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tiger leopard added
Resolution: fixed
Status: assignedclosed

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

Note: See TracTickets for help on using tickets.