Re: [MacPorts] #54421: blackbox @0.70.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib = libc++) because – Clang 3.9 is too modern?

MacPorts noreply at macports.org
Wed Jul 5 18:52:06 UTC 2017


#54421: blackbox @0.70.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib
= libc++) because – Clang 3.9 is too modern?
------------------------+-------------------
  Reporter:  ballapete  |      Owner:
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:
      Port:  blackbox   |
------------------------+-------------------

Comment (by ballapete):

 Replying to [comment:1 kencu]:
 > this smells like one of those situations where it is missing a proper
 `-std=c++11` setting. `gcc` sets these defaults differently than clang, at
 present. Google is your friend here -- others may have solved this already
 for you. Or search for this string in Macports, as it has likely happened
 in other ports too.

 Sorry, I don't understand the mechanics, rules, or whatever behind this.
 So I cannot ask a worthwhile question.

 >
 > if you can't find anything, try something like `configure.cxxflags-
 append -std=c++11` and see what happens.

 Same error as without. Could be it's not library but a language problem.
 >
 > BTW - you can't mix libc++ and things built with gcc-4.2 without
 invoking disaster.

 No, I'm not mixing… I don't know what I am doing wrong, but the stuff I
 compile works. i take some care in not telling my executables – or
 compilers – stuff. I just presume that my compilers are clever enough to
 record inside the executables which shared or dynamic libraries from which
 places they should use in daily life. I really like that sensible
 software.

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


More information about the macports-tickets mailing list