[MacPorts] #55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
MacPorts
noreply at macports.org
Fri Nov 24 19:53:25 UTC 2017
#55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
-------------------------+-------------------------------------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger leopard snowleopard lion
Port: cmake | mountainlion
-------------------------+-------------------------------------------------
Comment (by kencu):
Been playing with variations of this for the morning. It's not an easy
fix. The system libs are all installed with a different stdlib than cmake
when you force libc++ on 10.7, so that all has to be rethought due to link
errors. Frustratingly, the cmake internal libs don't build smoothly on
some systems due to all the usual hassles like incorrect typedefs etc. No
doubt fixable, but more time. And then the next version of cmake will come
out, and we start over again.
I thought perhaps gcc6 might build it (it does on PPC), but sadly even
that failed on MacOS Intel.
It's looking more tempting again to spin off the last version as a cmake-
legacy port, and use that to step people through to building clang-4.0 or
clang-5.0, and then use that to build the current cmake. However,
automating that is not simple. People would probably have to follow a page
of instructions.
And if they are going to have to do *that* -- well heck, might as well add
it as a step to LibcxxOnOlderSystems and be done with it (and fix the
buildbot stdlib thing).
--
Ticket URL: <https://trac.macports.org/ticket/55382#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list