Created
November 17, 2016 15:43
-
-
Save anonymous/09df9e7ea1f5038f1e186c8d2fb5b424 to your computer and use it in GitHub Desktop.
checking for CLOCK_MONOTONIC in time.h... RuntimeError
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing rspec-mocks 3.3.2 | |
Installing ruby_parser 3.7.1 | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/gems/shared/gems/kgio-2.9.3/ext/kgio | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/bin/jruby -r | |
./siteconf20161117-19492-xq4ukp.rb extconf.rb | |
checking for CLOCK_MONOTONIC in time.h... RuntimeError: The compiler failed to | |
generate an executable file. | |
You have to install development tools first. | |
try_do at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:456 | |
block in try_compile at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:571 | |
with_werror at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:524 | |
try_compile at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:571 | |
macro_defined? at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:839 | |
block in have_macro at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:974 | |
block in checking_for at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:942 | |
block in postpone at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:350 | |
open at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:320 | |
block in postpone at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:350 | |
open at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:320 | |
postpone at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:346 | |
checking_for at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:941 | |
have_macro at | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/mkmf.rb:973 | |
<main> at extconf.rb:5 | |
*** 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/d/.rbenv/versions/jruby-9.1.5.0/bin/jruby | |
To see why this extension failed to compile, please check the mkmf.log which can | |
be found here: | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/gems/shared/extensions/universal-java-1.8/2.3.0/kgio-2.9.3/mkmf.log | |
extconf failed, exit code 1 | |
Gem files will remain installed in | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/gems/shared/gems/kgio-2.9.3 | |
for inspection. | |
Results logged to | |
/Users/d/.rbenv/versions/jruby-9.1.5.0/lib/ruby/gems/shared/extensions/universal-java-1.8/2.3.0/kgio-2.9.3/gem_make.out | |
An error occurred while installing kgio (2.9.3), and Bundler cannot | |
continue. | |
Make sure that `gem install kgio -v '2.9.3'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment