-
Notifications
You must be signed in to change notification settings - Fork 8
Description
When I try to gem install rfreeimage, it failed.
How to fix it?
/Users/lairf/.rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20161122-7257-bw1f4r.rb extconf.rb
checking for gmake... no
checking for make... yes
-- /usr/bin/make
*** 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
--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/lairf/.rvm/rubies/ruby-2.2.2/bin/$(RUBY_BASE_NAME)
extconf.rb:14:in sys': ERROR: '/usr/bin/make' failed (RuntimeError) from extconf.rb:27:in block in
from extconf.rb:26:in
chdir' from extconf.rb:26:in '
To see why this extension failed to compile, please check the mkmf.log which can be found here:
extconf failed, exit code 1