{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/rugged/issues/489","labels_url":"https://api.github.com/repos/libgit2/rugged/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/rugged/issues/489/comments","events_url":"https://api.github.com/repos/libgit2/rugged/issues/489/events","html_url":"https://github.com/libgit2/rugged/issues/489","id":86270677,"number":489,"title":"Error when trying to install rugged","user":{"login":"duser0","id":10059740,"avatar_url":"https://avatars.githubusercontent.com/u/10059740?v=3","gravatar_id":"","url":"https://api.github.com/users/duser0","html_url":"https://github.com/duser0","followers_url":"https://api.github.com/users/duser0/followers","following_url":"https://api.github.com/users/duser0/following{/other_user}","gists_url":"https://api.github.com/users/duser0/gists{/gist_id}","starred_url":"https://api.github.com/users/duser0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duser0/subscriptions","organizations_url":"https://api.github.com/users/duser0/orgs","repos_url":"https://api.github.com/users/duser0/repos","events_url":"https://api.github.com/users/duser0/events{/privacy}","received_events_url":"https://api.github.com/users/duser0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T17:45:06Z","updated_at":"2015-06-08T17:46:50Z","closed_at":null,"body":"Hey\r\n\r\nI've been trying to install rugged for the last few days (Dandelion Deploy seems to have stopped working because of it)... I'm getting the following error though.\r\n\r\nPlease bear with me as not a backender at all. I have absolutely no idea how to fix it. I've tried reinstalling RVM, Ruby, Rails, Node, cmake, pkg-config... and nothing has worked. But the error persists!\r\n\r\n----\r\n\r\ngem install rugged\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing rugged:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    /Users/J/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150608-27367-63fel0.rb extconf.rb\r\nchecking for gmake... no\r\nchecking for make... yes\r\nchecking for cmake... yes\r\nchecking for pkg-config... yes\r\n -- cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\"\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n\t--with-opt-dir\r\n\t--without-opt-dir\r\n\t--with-opt-include\r\n\t--without-opt-include=${opt-dir}/include\r\n\t--with-opt-lib\r\n\t--without-opt-lib=${opt-dir}/lib\r\n\t--with-make-prog\r\n\t--without-make-prog\r\n\t--srcdir=.\r\n\t--curdir\r\n\t--ruby=/Users/J/.rvm/rubies/ruby-2.2.1/bin/$(RUBY_BASE_NAME)\r\n\t--use-system-libraries\r\nextconf.rb:13:in `sys': ERROR: 'cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\"' failed (RuntimeError)\r\n\tfrom extconf.rb:66:in `block (2 levels) in <main>'\r\n\tfrom extconf.rb:65:in `chdir'\r\n\tfrom extconf.rb:65:in `block in <main>'\r\n\tfrom extconf.rb:62:in `chdir'\r\n\tfrom extconf.rb:62:in `<main>'\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /Users/J/.rvm/gems/ruby-2.2.1/gems/rugged-0.22.2 for inspection.\r\nResults logged to /Users/J/.rvm/gems/ruby-2.2.1/extensions/x86_64-darwin-14/2.2.0-static/rugged-0.22.2/gem_make.out"},"comment":{"url":"https://api.github.com/repos/libgit2/rugged/issues/comments/110090038","html_url":"https://github.com/libgit2/rugged/issues/489#issuecomment-110090038","issue_url":"https://api.github.com/repos/libgit2/rugged/issues/489","id":110090038,"user":{"login":"duser0","id":10059740,"avatar_url":"https://avatars.githubusercontent.com/u/10059740?v=3","gravatar_id":"","url":"https://api.github.com/users/duser0","html_url":"https://github.com/duser0","followers_url":"https://api.github.com/users/duser0/followers","following_url":"https://api.github.com/users/duser0/following{/other_user}","gists_url":"https://api.github.com/users/duser0/gists{/gist_id}","starred_url":"https://api.github.com/users/duser0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duser0/subscriptions","organizations_url":"https://api.github.com/users/duser0/orgs","repos_url":"https://api.github.com/users/duser0/repos","events_url":"https://api.github.com/users/duser0/events{/privacy}","received_events_url":"https://api.github.com/users/duser0/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T17:46:50Z","updated_at":"2015-06-08T17:46:50Z","body":"Oh and the mkmf.log file contains the following...\r\n\r\n--------------------------------------------------------------------------------------------------\r\n\r\nfind_executable: checking for gmake... -------------------- no\r\n\r\n--------------------\r\n\r\nfind_executable: checking for make... -------------------- yes\r\n\r\n--------------------\r\n\r\nfind_executable: checking for cmake... -------------------- yes\r\n\r\n--------------------\r\n\r\nfind_executable: checking for pkg-config... -------------------- yes\r\n\r\n--------------------\r\n\r\n\"cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\"\"\r\n-- The C compiler identification is unknown\r\nCMake Error at CMakeLists.txt:14 (PROJECT):\r\n  The CMAKE_C_COMPILER:\r\n\r\n    Error: /usr/bin/xcode-select returned unexpected error.\r\n\r\n  is not a full path and was not found in the PATH.\r\n\r\n  Tell CMake where to find the compiler by setting either the environment\r\n  variable \"CC\" or the CMake cache entry CMAKE_C_COMPILER to the full path to\r\n  the compiler, or to the compiler name if it is in the PATH.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/J/.rvm/gems/ruby-2.2.1/gems/rugged-0.22.2/vendor/libgit2/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/Users/J/.rvm/gems/ruby-2.2.1/gems/rugged-0.22.2/vendor/libgit2/build/CMakeFiles/CMakeError.log\".\r\n"}}