Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Jruby installation #11182

Closed
MTEKode opened this issue May 17, 2017 · 2 comments
Closed

Error on Jruby installation #11182

MTEKode opened this issue May 17, 2017 · 2 comments

Comments

@MTEKode
Copy link

MTEKode commented May 17, 2017

Hi,
I have a problem installing grpc gem on jruby.
I had google-protobuf installed successfully.
I test it on:

  • JRUBY 9.1.7.0
  • JRUBY 9.1.8.0
  • JRUBY 9.1.9.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension:
 current directory:
 /Volumes/FdData/Users/mToribio/.rvm/gems/jruby-9.1.7.0/gems/grpc-1.2.5/src/ruby/ext/grpc
 /Volumes/FdData/Users/mToribio/.rvm/rubies/jruby-9.1.7.0/bin/jruby -r
 ./siteconf20170517-1426-j7em7a.rb extconf.rb
 NoMethodError: undefined method `+' for nil:NilClass
   <main> at extconf.rb:66
 *** 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=/Volumes/FdData/Users/mToribio/.rvm/rubies/jruby-9.1.7.0/bin/jruby
 
 extconf failed, exit code 1
 
 Gem files will remain installed in
 /Volumes/FdData/Users/mToribio/.rvm/gems/jruby-9.1.7.0/gems/grpc-1.2.5 for
 inspection.
 Results logged to
 /Volumes/FdData/Users/mToribio/.rvm/gems/jruby-9.1.7.0/extensions/universal-java-1.8/2.3.0/grpc-1.2.5/gem_make.out
 
 An error occurred while installing grpc (1.2.5), and Bundler cannot continue.
 Make sure that `gem install grpc -v '1.2.5'` succeeds before bundling.
 
 Process finished with exit code 5

Thanks you.

@MTEKode
Copy link
Author

MTEKode commented May 17, 2017

#6705

@apolcyn
Copy link
Contributor

apolcyn commented May 17, 2017

jruby isn't supported in grpc. And unfortunately in the near future, there's no plan to add support, due to the work needed. Going to close as there's discussion in #6705

@apolcyn apolcyn closed this as completed May 17, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants