Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49441 closed defect (invalid)

cmake wont build during OS upgrade to ElCapitan

Reported by: jatin.kala.jk@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: cssdev
Port: cmake

Description

Hi, I am following the standard instructions on re-building all my ports following a recent upgrade to ElCapitan. Yes, i have cleaned all ports, got the ElCaptian port base, installed/updated command line tools (Xcode version 6.2). The error is:

:info:configure -- The C compiler identification is AppleClang 6.0.0.6000057
:info:configure -- The CXX compiler identification is AppleClang 6.0.0.6000057
:info:configure CMake Error at Modules/Platform/Darwin.cmake:85 (message):
:info:configure   CMAKE_OSX_DEPLOYMENT_TARGET (10.11) is greater than CMAKE_OSX_SYSROOT SDK:
:info:configure 
:info:configure    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
:info:configure 
:info:configure   Please set CMAKE_OSX_DEPLOYMENT_TARGET to 10.10 or lower.

How do i set CMAKE_OSX_DEPLOYMENT_TARGET to 10.10?

Cheers, Jatin

Change History (3)

comment:1 Changed 9 years ago by petrrr

Cc: css@… added
Owner: changed from macports-tickets@… to michaelld@…

Please CC the maintainers in future.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Xcode 6.2 is too old for El Capitan. Upgrade to Xcode 7 or later.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: elcapitan added
Note: See TracTickets for help on using tickets.