-
Notifications
You must be signed in to change notification settings - Fork 26
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
Not able to install the manageiq-messaging gem #91
Comments
Thanks for the details @Dhamo1107 - looks like rdkafka is where the breakdown occurs. I do see that librdkafka, the underlying C/C++ library is portable and should support Windows, but rdkafka doesn't support WIndows at the moment. See this issue: karafka/rdkafka-ruby#188. So, at this point, someone would need to add Windows support to rdkafka. It might be useful to comment in that issue expressing interest, but they will likely ask for contributions over building it themselves. |
Thanks for the Information @Fryguy |
@Dhamo1107 Just last week I was working on this, check karafka/rdkafka-ruby#188 (comment), any advice is welcome. |
@sirzeta I am getting the same error even after following these instructions karafka/rdkafka-ruby#188 (comment) |
@Dhamo1107 After certain tests, still giving problems, unfortunately fix it is out of my "Windows" knowledge right now. |
@sirzeta Anyway, thank you for your Support! |
I tried to set up the development environment for the ManageIQ repository. After cloning the repository, I ran the bundle install command, but the manageiq-messaging gem failed to install and showed an error related to librdkafka. Then, I tried to install the rdkafka gem, but I encountered an error with that as well.
Steps to reproduce:
bundle install
Running 'configure' for librdkafka 2.3.0... ERROR. Please review logs to see what happened: contents of 'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rdkafka-0.16.0/ext/tmp/x86_64-w64-mingw32/ports/librdkafka/2.3.0/configure.log' mklove/modules/configure.base: line 2126: source: configure.self: file not found end of file contents of 'config.log'
gem install manageiq-messaging
Extracting v2.3.0 into tmp/x86_64-w64-mingw32/ports/librdkafka/2.3.0... OK Running 'configure' for librdkafka 2.3.0... ERROR. Please review logs to see what happened: ----- contents of 'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rdkafka-0.16.0/ext/tmp/x86_64-w64-mingw32/ports/librdkafka/2.3.0/configure.log' ----- mklove/modules/configure.base: line 2126: source: configure.self: file not found ----- end of file ----- ----- contents of 'config.log' ----- DBG 966: tput reports color support: true DBG 966: Using color escape sequences from tput
gem install rdkafka -v '0.8.1' --source 'https://rubygems.org/'
Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... ERROR: Error installing rdkafka: ERROR: Failed to build gem native extension. current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rdkafka-0.8.1/ext C:/Ruby31-x64/bin/ruby.exe -IC:/Ruby31-x64/lib/ruby/site_ruby/3.1.0 -rrubygems C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/rdkafka-0.8.1 RUBYLIBDIR\=C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/rdkafka-0.8.1 Extracting v1.4.0 into tmp/x86_64-w64-mingw32/ports/librdkafka/1.4.0... OK Running 'configure' for librdkafka 1.4.0... ERROR. Please review logs to see what happened: ----- contents of 'C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rdkafka-0.8.1/ext/tmp/x86_64-w64-mingw32/ports/librdkafka/1.4.0/configure.log' mklove/modules/configure.base: line 2047: source: configure.self: file not found end of file contents of 'config.log'
ruby - ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
The text was updated successfully, but these errors were encountered: