Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

gem ruby-prof install error

View ruby_prof_compile_error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
~/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
 
make
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.