[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 15:46:42 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 ballapete):

 Replying to [comment:9 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.

 How does it look technically with that undocumented (`man port`) "`-stdlib
 =macports-libstdc++` on the build line?" Is it then this invocation?

 {{{
 port -stdlib=macports-libstdc++ -vd upgrade texlive-bin configure.compiler
 =macports-clang-3.9
 }}}

 >
 > 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.

 I'll add this statement on line #6 in texlive-bin Portfile. And hopefully
 `texlive-bin @2016+x11` will rebuild because poppler was upgraded to a new
 version…

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


More information about the macports-tickets mailing list