-
Notifications
You must be signed in to change notification settings - Fork 286
Description
Hey
I'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.
Please 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!
gem install rugged
Building native extensions. This could take a while...
ERROR: Error installing rugged:
ERROR: Failed to build gem native extension.
/Users/J/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150608-27367-63fel0.rb extconf.rb
checking for gmake... no
checking for make... yes
checking for cmake... yes
checking for pkg-config... yes
-- cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "Unix Makefiles"
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/J/.rvm/rubies/ruby-2.2.1/bin/$(RUBY_BASE_NAME)
--use-system-libraries
extconf.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) from extconf.rb:66:inblock (2 levels) in
from extconf.rb:65:in
chdir' from extconf.rb:65:inblock in 'from extconf.rb:62:in
chdir' from extconf.rb:62:in'
extconf failed, exit code 1
Gem files will remain installed in /Users/J/.rvm/gems/ruby-2.2.1/gems/rugged-0.22.2 for inspection.
Results 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