Skip to content

Not able to install the manageiq-messaging gem #91

@Dhamo1107

Description

@Dhamo1107
  1. 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.

  2. 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'

  1. Describe your environment, including
    • Windows
    • bundler version - 2.4.4 , ruby - ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions