[MacPorts] #44571: gmp @6.0.0: configure fails

MacPorts noreply at macports.org
Fri Aug 8 09:33:56 PDT 2014


#44571: gmp @6.0.0: configure fails
-------------------------------+------------------------
  Reporter:  erik.mccaffrey@…  |      Owner:  mcalhoun@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.1
Resolution:                    |   Keywords:
      Port:  gmp               |
-------------------------------+------------------------

Comment (by cal@…):

 `/usr/local/include/string.h` does not have to exist for this error
 message to be printed – your `/usr/local/include` or `/usr/local`
 directory might lack read and execute permissions for the macports user,
 which would cause the same issues. Please check the permissions.

 You should always have an empty `/usr/local` when using MacPorts – that's
 because MacPorts cannot easily prevent compilers and configure scripts
 from picking up headers and libraries in `/usr/local`. In practice, the
 damage potential isn't that high if you only have a few obscure things in
 `/usr/local` and don't build ports that use those. In your case, e.g.,
 having fuse headers in `/usr/local` could cause problems with anything
 using fuse in MacPorts. Same for FAAC.

 That being said, MacPorts '''does''' have a generic method to avoid stuff
 in `/usr/local`, which, however, comes at a performance overhead due to
 how it is implemented – and that's trace mode. I think repeating your
 installation using `sudo port clean gmp; sudo port -t install
 --unrequested gmp` should successfully finish.

-- 
Ticket URL: <https://trac.macports.org/ticket/44571#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list