[MacPorts] #58425: QGLE @4.2.5_12: fails to find glu.h on 14.04 - build failure

MacPorts noreply at macports.org
Wed May 1 16:03:16 UTC 2019


#58425: QGLE @4.2.5_12: fails to find glu.h on 14.04 - build failure
-----------------------------+---------------------
  Reporter:  majoc-at-astro  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:  sysroot
      Port:  qgle            |
-----------------------------+---------------------
Changes (by majoc-at-astro):

 * keywords:   => sysroot


Comment:

 Further experimentation with trivial CPP files at the command line
 suggests that the true fix would be to replace:

 {{{
 -I/System/Library/Frameworks/OpenGL.framework/Headers
 }}}

 .... with:

 {{{
 -iwithsysroot /System/Library/Frameworks/OpenGL.framework/Headers
 }}}

 .... which makes use of the {{{-isysroot/}}} phrase.  (The
 {{{AGL.framework}}} header-inclusion phrase may need similar treatment,
 though I haven't tested that.)

 Methinks this headers-in-Xcode (headers-under-sysroot?) problem will turn
 up in other places (eg ticket:58378).  I leave it to those who understand
 these things better to ascertain whether this needs to go in individual
 ports, into a portgroup, or both.  Apologies for not being able to submit
 a known-working patchset for myself: it's taken me a week to get this far,
 and I'm out of oomph.  Hope this helps.

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


More information about the macports-tickets mailing list