[swift-users] Error building Swift
bknope at me.com
Wed Feb 17 15:42:46 CST 2016
Hello! I am trying to build swift and I have installed both CMake and Ninja with MacPorts.
When running build-scripts, I am getting this error:
-- The C compiler identification is AppleClang 22.214.171.12400181
-- The CXX compiler identification is AppleClang 126.96.36.19900181
-- Check for working C compiler using: Ninja
The detected version of Ninja () is less than the version of Ninja required
by CMake (1.3).
CMake Error: Internal CMake error, TryCompile generation of cmake failed
-- Check for working C compiler using: Ninja -- broken
CMake Error at /opt/local/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
I followed the directions from https://github.com/apple/swift <https://github.com/apple/swift>.
Ninja should be the most current version as it was installed and updated via MacPorts.
Any ideas? Am I missing something silly?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users