[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
Wed Jun 21 23:08:59 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):

 Ah. I think this is because I used libc++, and so I get -stdlib=libc++ on
 the build line. Your build line is showing -stdlib=libstdc++, and that
 won't work because it has no c++11 support. You need to have -stdlib
 =macports-libstdc++ on the build line.

 In your case, the easiest thing to do would be to add `Portgroup cxx11
 1.1` up near the top of the file, which should take care of properly
 setting up Marcus' tricks for you.

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


More information about the macports-tickets mailing list