rubydeps
rubydeps copied to clipboard
Can't install on ruby 2.2.3
Hi, here's the message error I get after gem install :
Building native extensions. This could take a while...
ERROR: Error installing rubydeps:
ERROR: Failed to build gem native extension.
/Users/charly/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20151030-7149-7urdpq.rb extconf.rb
checking for rb_iseq_location_t in vm_core.h... no
checking for vm_core.h... no
checking for rb_iseq_location_t in vm_core.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-2.2.3-p173 provided with debugger-ruby_core_source gem.
**************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/charly/.rvm/rubies/ruby-2.2.3/bin/$(RUBY_BASE_NAME)
extconf failed, exit code 1
ditto
Same problem with 2.3. :cry:
Me too 😿
Same
Same w/2.1.9. Any takers? It's getting close to a year now. Perhaps another gem is in order?
ruby 2.3.1p112 running on Mint. Same problem. Not happy at all.
Error is:
"gcc -I/home/mk/.rbenv/versions/2.6.5/include/ruby-2.6.0/x86_64-linux -I/home/mk/.rbenv/versions/2.6.5/include/ruby-2.6.0/ruby/backward -I/home/mk/.rbenv/versions/2.6.5/include/ruby-2.6.0 -I. -I/home/mk/.rbenv/versions/2.6.5/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -c conftest.c"
conftest.c:3:10: fatal error: vm_core.h: No such file or directory
3 | #include <vm_core.h>
| ^~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <vm_core.h>
4:
5: /*top*/
6: typedef rb_iseq_location_t conftest_type;
7: int conftestval[sizeof(conftest_type)?1:-1];
/* end */
Looks like conftest
relies on MRI header files that don't exist anymore in 2.2+.