[MacPorts] #46108: CMake and Yosemite Issue

MacPorts noreply at macports.org
Tue Dec 2 18:55:34 PST 2014


#46108: CMake and Yosemite Issue
----------------------------+-------------------
  Reporter:  jonlederman@…  |      Owner:  css@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  cmake          |
----------------------------+-------------------

Comment (by ryandesign@…):

 It sounds like you were able to install the cmake port using MacPorts, and
 that you are now having trouble using cmake outside of MacPorts. As such,
 this is probably not a MacPorts problem, and you should probably contact
 the developers of cmake.


 Replying to [ticket:46108 jonlederman@…]:
 > {{{
 >   The C compiler
 >
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
 >   is not able to compile a simple test program.
 > }}}

 You may want to verify that you have installed the Xcode command line
 tools.


 > {{{
 > See also "/Users/Jon/Documents/Developer/SonicCloud/linphone-iphone-
 sc/submodules/build-i386-apple-
 darwin/externals/zrtpcpp/CMakeFiles/CMakeOutput.log".
 > See also "/Users/Jon/Documents/Developer/SonicCloud/linphone-iphone-
 sc/submodules/build-i386-apple-
 darwin/externals/zrtpcpp/CMakeFiles/CMakeError.log".
 > }}}

 It may also help to see these files.

 I noticed you are using `-miphoneos-version-min=4.0`. I Googled the error
 message and got to [https://github.com/x2on/OpenSSL-for-iPhone/issues/35
 this page] where someone mentioned experiencing the same error when using
 `-miphoneos-version-min=5.1` and that using `-miphoneos-version-min=6.0`
 instead worked, but that really `-mios-simulator-version-min=` should have
 been used. This is beyond my area of expertise and outside the scope of
 MacPorts support.

-- 
Ticket URL: <https://trac.macports.org/ticket/46108#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list