Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
output from `gem install perftools.rb`
Building native extensions. This could take a while...
ERROR: Error installing perftools.rb:
ERROR: Failed to build gem native extension.
/home/adam/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
(I'm about to compile google-perftools.. this will definitely take a while)
-- tar zxvf google-perftools-1.6.tar.gz
-- patch -p1 < ../../../patches/perftools.patch
-- patch -p1 < ../../../patches/perftools-notests.patch
-- patch -p1 < ../../../patches/perftools-pprof.patch
-- patch -p1 < ../../../patches/perftools-gc.patch
-- patch -p1 < ../../../patches/perftools-debug.patch
-- patch -p1 < ../../../patches/perftools-objects.patch
-- patch -p1 < ../../../patches/perftools-frames.patch
-- sed -i -e 's,SpinLock,ISpinLock,g' src/*.cc src/*.h src/base/*.cc src/base/*.h
-- ./configure --disable-heap-profiler --disable-heap-checker --disable-debugalloc --disable-shared
-- 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
--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=/home/adam/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
extconf.rb:6:in `sys': make failed, please report to perftools@tmm1.net with pastie.org link to /home/adam/.rvm/gems/ruby-1.9.3-p0@global/gems/perftools.rb-0.5.6/ext/mkmf.log and /home/adam/.rvm/gems/ruby-1.9.3-p0@global/gems/perftools.rb-0.5.6/ext/src/google-perftools-1.6/config.log (RuntimeError)
from extconf.rb:76:in `block (2 levels) in <main>'
from extconf.rb:71:in `chdir'
from extconf.rb:71:in `block in <main>'
from extconf.rb:36:in `chdir'
from extconf.rb:36:in `<main>'
Gem files will remain installed in /home/adam/.rvm/gems/ruby-1.9.3-p0@global/gems/perftools.rb-0.5.6 for inspection.
Results logged to /home/adam/.rvm/gems/ruby-1.9.3-p0@global/gems/perftools.rb-0.5.6/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment