[MacPorts] #55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
MacPorts
noreply at macports.org
Thu Nov 30 15:30:20 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 MarcusCalhoun-Lopez):
Replying to [comment:24 ryandesign]:
> I don't understand how that can work. If cmake and cmake39 conflict and
both install /opt/local/bin/cmake, and if you make one of cmake's
dependencies depend on cmake39, then cmake will eventually fail to
activate because cmake39 is active.
Wouldn't the following code in the [https://github.com/macports/macports-
ports/blob/7cbbb6dd71f9a9a9d582994985d60283b31ee699/_resources/port1.0/group/cmake-1.0.tcl#L45
cmake PG] break the circular dependency?
{{{
if {${os.major} < 13 && ([string match clang-* ${subport}] || [string
match llvm-* ${subport}] || [string match libomp* ${subport}])} {
depends_build-append path:bin/cmake:cmake39
} else {
# can use cmake or cmake-devel; default to cmake if not installed
depends_build-append path:bin/cmake:cmake
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55382#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list