Created
January 8, 2016 21:10
-
-
Save tstirrat15/2801a2be47ffe289de74 to your computer and use it in GitHub Desktop.
Bropages Gem Failed Install
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
tstirrat@vm-tstirrat:~$ sudo gem install bropages | |
Building native extensions. This could take a while... | |
ERROR: Error installing bropages: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby2.1 mkrf_conf.rb | |
Building native extensions. This could take a while... | |
/usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError) | |
/usr/bin/ruby2.1 extconf.rb | |
checking for main() in -lstdc++... *** 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=/usr/bin/ruby2.1 | |
--with-static-libstdc++ | |
--without-static-libstdc++ | |
--with-stdc++lib | |
--without-stdc++lib | |
/usr/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) | |
You have to install development tools first. | |
from /usr/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:556:in `try_link' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:742:in `try_func' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:973:in `block in have_library' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:918:in `block in checking_for' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block (2 levels) in postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block in postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:347:in `postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:917:in `checking_for' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:968:in `have_library' | |
from extconf.rb:6:in `<main>' | |
extconf failed, exit code 1 | |
Gem files will remain installed in /var/lib/gems/2.1.0/gems/unf-0.2.0.beta2/ext/gems/gems/unf_ext-0.0.7.1 for inspection. | |
Results logged to /var/lib/gems/2.1.0/gems/unf-0.2.0.beta2/ext/gems/extensions/x86_64-linux/2.1.0/unf_ext-0.0.7.1/gem_make.out | |
from /usr/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build' | |
from /usr/lib/ruby/2.1.0/tempfile.rb:324:in `open' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:17:in `build' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `chdir' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `block in build_extension' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `synchronize' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `build_extension' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:198:in `block in build_extensions' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `each' | |
from /usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `build_extensions' | |
from /usr/lib/ruby/2.1.0/rubygems/installer.rb:677:in `build_extensions' | |
from /usr/lib/ruby/2.1.0/rubygems/installer.rb:232:in `install' | |
from /usr/lib/ruby/2.1.0/rubygems/resolver/specification.rb:78:in `install' | |
from /usr/lib/ruby/2.1.0/rubygems/request_set.rb:206:in `block in install_into' | |
from /usr/lib/ruby/2.1.0/rubygems/request_set.rb:198:in `each' | |
from /usr/lib/ruby/2.1.0/rubygems/request_set.rb:198:in `install_into' | |
from /usr/lib/ruby/2.1.0/rubygems/request_set.rb:119:in `install' | |
from /usr/lib/ruby/2.1.0/rubygems/dependency_installer.rb:389:in `install' | |
from mkrf_conf.rb:15:in `<main>' | |
rake failed, exit code 1 | |
Gem files will remain installed in /var/lib/gems/2.1.0/gems/unf-0.2.0.beta2 for inspection. | |
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/unf-0.2.0.beta2/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment