Skip to content

Instantly share code, notes, and snippets.

@shawn42
Created April 3, 2009 15:06
Show Gist options
  • Save shawn42/89776 to your computer and use it in GitHub Desktop.
Save shawn42/89776 to your computer and use it in GitHub Desktop.
sudo gem install rcov
Building native extensions. This could take a while...
ERROR: Error installing rcov:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby1.9 extconf.rb install rcov
creating Makefile
make
gcc -I. -I/usr/local/include/ruby1.9-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby1.9-1.9.1/ruby/backward -I/usr/local/include/ruby1.9-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -o callsite.o -c callsite.c
callsite.c:2:17: error: env.h: No such file or directory
callsite.c:3:18: error: node.h: No such file or directory
In file included from callsite.c:4:
/usr/local/include/ruby1.9-1.9.1/ruby/backward/st.h:2:2: warning: #warning use "ruby/st.h" instead of bare "st.h"
callsite.c:18: warning: type defaults to ‘int’ in declaration of ‘caller_stack_len’
callsite.c: In function ‘record_method_def_site’:
callsite.c:63: warning: unused variable ‘hash’
callsite.c: In function ‘callsite_custom_backtrace’:
callsite.c:82: error: ‘ruby_frame’ undeclared (first use in this function)
callsite.c:82: error: (Each undeclared identifier is reported only once
callsite.c:82: error: for each function it appears in.)
callsite.c:84: error: ‘NODE’ undeclared (first use in this function)
callsite.c:84: error: ‘n’ undeclared (first use in this function)
callsite.c:89: error: dereferencing pointer to incomplete type
callsite.c:90: error: dereferencing pointer to incomplete type
callsite.c:92: error: dereferencing pointer to incomplete type
callsite.c:92: error: dereferencing pointer to incomplete type
callsite.c:93: error: dereferencing pointer to incomplete type
callsite.c:93: error: dereferencing pointer to incomplete type
callsite.c:94: error: dereferencing pointer to incomplete type
callsite.c:96: error: dereferencing pointer to incomplete type
callsite.c:96: error: dereferencing pointer to incomplete type
callsite.c:101: error: dereferencing pointer to incomplete type
callsite.c:103: warning: implicit declaration of function ‘nd_line’
callsite.c: At top level:
callsite.c:121: error: syntax error before ‘event’
callsite.c: In function ‘coverage_event_callsite_hook’:
callsite.c:131: error: ‘klass’ undeclared (first use in this function)
callsite.c:136: error: ‘mid’ undeclared (first use in this function)
callsite.c:141: error: ‘node’ undeclared (first use in this function)
callsite.c: In function ‘cov_install_callsite_hook’:
callsite.c:162: error: too few arguments to function ‘rb_add_event_hook’
callsite.c: In function ‘Init_rcov_callsite’:
callsite.c:216: warning: unused variable ‘id_script_lines__’
make: *** [callsite.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment