[MacPorts] #69464: gmp @6.3.0_0 configure error : configure: error: No usable m4 in $PATH or /usr/5bin

MacPorts noreply at macports.org
Tue Mar 12 17:31:17 UTC 2024


#69464: gmp @6.3.0_0 configure error : configure: error: No usable m4 in $PATH or
/usr/5bin
----------------------------+---------------------------------
  Reporter:  nanigashi-uji  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.9.1
Resolution:                 |   Keywords:  sonoma haspatch
      Port:  gmp            |
----------------------------+---------------------------------
Changes (by ryandesign):

 * keywords:   => sonoma haspatch


Comment:

 Ok, gmp's configure script, and other files, do literally reference
 /usr/5bin. Apparently it's a System V thing. Not relevant to macOS.

 We have discovered in other tickets (e.g. comment:ticket:69467:6) that
 Apple forgot (?) to include `m4` in the Xcode 15.3 command line tools
 (although they did still include `gm4`), so that's probably what's to
 blame here.

 Since gmp uses m4, it should use the newer MacPorts version of m4. Here's
 a PR to do that: https://github.com/macports/macports-ports/pull/22985

-- 
Ticket URL: <https://trac.macports.org/ticket/69464#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list