-
-
Save abedra/59601 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is an incompatibility with the new ruby 1.9 C api. If you take a look at http://github.com/spicycode/rcov you will find a ruby19_compatibility branch that I am starting to address these issues in. It's not complete yet and probably won't be for a few more weeks. There are a lot of changes that need to be made to this in order for it to work properly with ruby 1.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
〈Thu Feb 05 - 15:55:21〉〈elliottcable - Geoffrey〉〈~/Code/〉 | |
➜ sudo gem install rcov | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing rcov: | |
ERROR: Failed to build gem native extension. | |
/usr/local/bin/ruby extconf.rb install rcov | |
creating Makefile | |
make | |
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -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/ruby-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 | |
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/rcov-0.8.1.2.0 for inspection. | |
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/rcov-0.8.1.2.0/ext/rcovrt/gem_make.out | |
Updating class cache with 1620 classes... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment