Skip to content

Instantly share code, notes, and snippets.

@cheald
Created November 3, 2012 23:37
Show Gist options
  • Save cheald/4009322 to your computer and use it in GitHub Desktop.
Save cheald/4009322 to your computer and use it in GitHub Desktop.
% rvm use ruby-head
Using /usr/local/rvm/gems/ruby-head
chris@luna ~apache/repos git:(master*) ruby-head % gem install ruby-prof
Fetching: ruby-prof-0.11.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing ruby-prof:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-head/bin/ruby extconf.rb
checking for sys/times.h... yes
checking for rb_os_allocated_objects()... no
checking for rb_gc_allocated_size()... no
checking for rb_gc_collections()... no
checking for rb_gc_time()... no
checking for rb_class_superclass()... yes
checking for rb_heap_total_mem()... no
checking for rb_gc_heap_info()... no
creating Makefile
make
compiling rp_measure_cpu_time.c
compiling rp_measure_process_time.c
compiling rp_method.c
rp_method.c: In function ‘method_name’:
rp_method.c:101:16: error: ‘ID_ALLOCATOR’ undeclared (first use in this function)
rp_method.c:101:16: note: each undeclared identifier is reported only once for each function it appears in
make: *** [rp_method.o] Error 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-head/gems/ruby-prof-0.11.2 for inspection.
Results logged to /usr/local/rvm/gems/ruby-head/gems/ruby-prof-0.11.2/ext/ruby_prof/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment