Skip to content
Create a gist now

Instantly share code, notes, and snippets.

gem ruby-prof install error
~/Projects/rails/lab/github/rails ∴ ruby -v [ruby-head-patched@rails]
ruby 1.9.3dev (2011-05-29 trunk 31764) [x86_64-darwin10.7.0]
~/Projects/rails/lab/github/rails ∴ gem install ruby-prof [ruby-head-patched@rails]
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-patched/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_heap_total_mem()... no
checking for rb_gc_heap_info()... no
checking for rb_gc_malloc_allocations()... no
checking for rb_gc_malloc_allocated_size()... no
creating Makefile
compiling ruby_prof.c
ruby_prof.c: In function ‘figure_singleton_name’:
ruby_prof.c:87: error: dereferencing pointer to incomplete type
ruby_prof.c: In function ‘prof_start’:
ruby_prof.c:1552: warning: ISO C90 forbids mixed declarations and code
ruby_prof.c: In function ‘prof_stop’:
ruby_prof.c:1623: warning: ISO C90 forbids mixed declarations and code
make: *** [ruby_prof.o] Error 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-head-patched@rails/gems/ruby-prof-0.10.7 for inspection.
Results logged to /usr/local/rvm/gems/ruby-head-patched@rails/gems/ruby-prof-0.10.7/ext/ruby_prof/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.