Skip to content

Instantly share code, notes, and snippets.

@careo
Created March 17, 2010 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save careo/334827 to your computer and use it in GitHub Desktop.
Save careo/334827 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing perftools.rb:
ERROR: Failed to build gem native extension.
/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/bin/ruby extconf.rb
(I'm about to compile google-perftools.. this will definitely take a while)
-- tar zxvf google-perftools-1.4.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-osx.patch
-- patch -p1 < ../../../patches/perftools-osx-106.patch
-- patch -p1 < ../../../patches/perftools-debug.patch
-- patch -p1 < ../../../patches/perftools-realtime.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
checking for vm_core.h... no
Requesting http://cloud.github.com/downloads/mark-moseley/ruby_core_source/preview_revision.yml
Downloading http://cloud.github.com/downloads/mark-moseley/ruby_core_source/preview_revision.yml
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
creating Makefile
make
gcc -I. -I/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1/i386-darwin10.2.0 -I/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1/ruby/backward -I/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1 -I. -DRUBY19 -DHAVE_VM_CORE_H -DHAVE_ISEQ_H -DHAVE_INSNS_INC -DHAVE_INSNS_INFO_INC -I/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1/ruby-1.9.2-preview1 -fno-common -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wno-missing-field-initializers -Wshorten-64-to-32 -Wpointer-arith -Wwrite-strings -pipe -o perftools.o -c perftools.c
perftools.c: In function ‘rb_stack_trace’:
perftools.c:150: error: ‘rb_control_frame_t’ has no member named ‘method_class’
perftools.c:151: error: ‘rb_control_frame_t’ has no member named ‘method_id’
make: *** [perftools.o] Error 1
Gem files will remain installed in /Users/djensen/.rvm/gems/ruby-1.9.2-preview1/gems/perftools.rb-0.4.0 for inspection.
Results logged to /Users/djensen/.rvm/gems/ruby-1.9.2-preview1/gems/perftools.rb-0.4.0/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment