{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/traveling-ruby/issues/18","labels_url":"https://api.github.com/repos/phusion/traveling-ruby/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/phusion/traveling-ruby/issues/18/comments","events_url":"https://api.github.com/repos/phusion/traveling-ruby/issues/18/events","html_url":"https://github.com/phusion/traveling-ruby/issues/18","id":52177304,"number":18,"title":"[osx] error building make: CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT \"\"","user":{"login":"drnic","id":108,"avatar_url":"https://avatars.githubusercontent.com/u/108?v=3","gravatar_id":"","url":"https://api.github.com/users/drnic","html_url":"https://github.com/drnic","followers_url":"https://api.github.com/users/drnic/followers","following_url":"https://api.github.com/users/drnic/following{/other_user}","gists_url":"https://api.github.com/users/drnic/gists{/gist_id}","starred_url":"https://api.github.com/users/drnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drnic/subscriptions","organizations_url":"https://api.github.com/users/drnic/orgs","repos_url":"https://api.github.com/users/drnic/repos","events_url":"https://api.github.com/users/drnic/events{/privacy}","received_events_url":"https://api.github.com/users/drnic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-16T22:39:46Z","updated_at":"2015-02-08T11:02:29Z","closed_at":"2015-02-08T11:02:29Z","body":"I'm trying to build the ruby/gems so I can generate a new native gem build. But on my 10.10 machine I get the following error:\r\n\r\n```\r\n$ cd osx\r\n$ make package\r\n...\r\nInstalling CMake...\r\n------------------------------------------\r\n+ rm -f cmake-3.0.2.tar.gz\r\n+ curl --fail -L -o cmake-3.0.2.tar.gz http://www.cmake.org/files/v3.0/cmake-3.0.2.tar.gz\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 5361k  100 5361k    0     0   146k      0  0:00:36  0:00:36 --:--:--  135k\r\n+ tar xzf cmake-3.0.2.tar.gz\r\n+ rm cmake-3.0.2.tar.gz\r\nEntering /Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/runtime/cmake-3.0.2\r\n+ ./configure --prefix=/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/runtime --no-qt-gui --parallel=4\r\n---------------------------------------------\r\nCMake 3.0.2, Copyright 2000-2014 Kitware, Inc.\r\nC compiler on this system is: /Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/cc \r\nC++ compiler on this system is: /Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ \r\nMakefile processor on this system is: make\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ is GNU compiler\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has setenv\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has unsetenv\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ does not have environ in stdlib.h\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has STL in std:: namespace\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has ANSI streams\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has streams in std:: namespace\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has sstream\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has operator!=(string, char*)\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has stl iterator_traits\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has standard template allocator\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has allocator<>::rebind<>\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ does not have non-standard allocator<>::max_size argument\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has stl containers supporting allocator objects\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has stl wstring\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has header cstddef\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ requires template friends to use <>\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ supports member templates\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has standard template specialization syntax\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has argument dependent lookup\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ does not have struct stat with st_mtim member\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has ios::binary openmode\r\n/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/internal/bin/c++ has ANSI for scoping\r\n---------------------------------------------\r\nmake[1]: `cmake' is up to date.\r\nloading initial cache file /Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/runtime/cmake-3.0.2/Bootstrap.cmk/InitialCacheFlags.cmake\r\n-- The C compiler identification is AppleClang 6.0.0.6000056\r\n-- The CXX compiler identification is AppleClang 6.0.0.6000056\r\nCMake Error at Modules/Platform/Darwin.cmake:211 (message):\r\n  CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT:\r\n\r\n   \"\"\r\n\r\n  is not set to a MacOSX SDK with a recognized version.  Either set\r\n  CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to\r\n  empty.\r\nCall Stack (most recent call first):\r\n  Modules/CMakeSystemSpecificInformation.cmake:36 (include)\r\n  CMakeLists.txt:16 (project)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/drnic/Projects/travelling-ruby/traveling-ruby/osx/runtime/cmake-3.0.2/CMakeFiles/CMakeOutput.log\".\r\n---------------------------------------------\r\nError when bootstrapping CMake:\r\nProblem while running initial CMake\r\n---------------------------------------------\r\nmake: *** [runtime/ok] Error 11\r\n```\r\n\r\nIs there something I'm supposed to setup first?"},"comment":{"url":"https://api.github.com/repos/phusion/traveling-ruby/issues/comments/73406159","html_url":"https://github.com/phusion/traveling-ruby/issues/18#issuecomment-73406159","issue_url":"https://api.github.com/repos/phusion/traveling-ruby/issues/18","id":73406159,"user":{"login":"FooBarWidget","id":819,"avatar_url":"https://avatars.githubusercontent.com/u/819?v=3","gravatar_id":"","url":"https://api.github.com/users/FooBarWidget","html_url":"https://github.com/FooBarWidget","followers_url":"https://api.github.com/users/FooBarWidget/followers","following_url":"https://api.github.com/users/FooBarWidget/following{/other_user}","gists_url":"https://api.github.com/users/FooBarWidget/gists{/gist_id}","starred_url":"https://api.github.com/users/FooBarWidget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FooBarWidget/subscriptions","organizations_url":"https://api.github.com/users/FooBarWidget/orgs","repos_url":"https://api.github.com/users/FooBarWidget/repos","events_url":"https://api.github.com/users/FooBarWidget/events{/privacy}","received_events_url":"https://api.github.com/users/FooBarWidget/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T11:02:29Z","updated_at":"2015-02-08T11:02:29Z","body":"Apparently older SDKs are available from the Apple developer website. I've documented instructions on how to download and install them. See [osx/README.md](https://github.com/phusion/traveling-ruby/tree/master/osx)."}}