[MacPorts] #59113: gcc: cannot find systems headers with Xcode 11

MacPorts noreply at macports.org
Sun Oct 6 18:32:10 UTC 2019


#59113: gcc: cannot find systems headers with Xcode 11
-----------------------------+--------------------
  Reporter:  abyrvalk        |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  gcc7 gcc8 gcc9  |
-----------------------------+--------------------

Comment (by mouse07410):

 Found one problem: in addition to installing CLTools for Xcode-11, one
 must manually symlink:
 {{{
 $ sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 }}}

 Then everything works fine.

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


More information about the macports-tickets mailing list