[MacPorts] #54358: texlive-bin @2017 won't build on Snow Leopard, Mac OS X 10.6.8, because "A compiler with support for C++11 language features is required"

MacPorts noreply at macports.org
Thu Jun 22 16:28:01 UTC 2017


#54358: texlive-bin @2017 won't build on Snow Leopard, Mac OS X 10.6.8, because "A
compiler with support for C++11 language features is required"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by kencu):

 The cxx11 1.1 portgroup does basically three things:

 1. specify a suitable compiler
 2. set up clang to use -stdlib=macports-libstdc++, which does some behind
 the scene things in clang's choice of include directories and linkages
 3. set the ABI compatibility mode for libgcc to ABI4, so the software is
 compatible with the other things built against the system's libstdc++.

 You'd have to do all these things manually to make it work correctly, so
 it's best to just use the cxx11 portgroup. Or use libc++ instead, which is
 what I do (LibcxxOnOlderSystems).

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


More information about the macports-tickets mailing list