[MacPorts] #44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite
MacPorts
noreply at macports.org
Mon Oct 20 04:58:38 PDT 2014
#44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite
---------------------------------+--------------------------------
Reporter: daniele.pontillo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords: yosemite
Port: cmake |
---------------------------------+--------------------------------
Comment (by joepreludian@…):
What happening is when we Setup a brand new OS X and put Xcode, the public
version is 6.0.1 and doesn't have the 10.10 SDK. (Just have iOS8 one). I
got the developer version of Xcode (6.1), did an Xcode select, also I set
CMAKE_OSX_SYSROOT and rebuild my cmake. I Did the following:
# Download Xcode 6.1;
# Download Xcode Command Line Tools;
# Download and Install Macports;
env
MAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
sudo port selfupdate
sudo port install cmake
# If You tried to install before, try cleaning cmake's setup by doing:
sudo port clean cmake
I Hope it helps.
--
Ticket URL: <https://trac.macports.org/ticket/44581#comment:68>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list