-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Install fails on windows for all versions #188
Comments
I don't believe we've tested this gem on Windows so far. You're not using the linux base system right? |
No, I tried this on regular windows |
@thijsc any thoughts on what might cause this? |
I have no clue honestly. I don't have access to any Windows machines that I can test with. I guess we could add a windows build to our CI. Would you be willing to work on that? |
Closing due to lack of activity. If anyone is willing to add Windows, happy to accept contributions. WSL works to the extend of my knowledge. |
I'm trying to install the gem on windows with:
gem install rdkafka -v '0.8.1'
(I tried all newer versions as well)
But it fails with the following:
PS C:\code> gem install rdkafka -v '0.8.1'
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.
C:/Ruby27-x64/bin/ruby.exe -IC:/Ruby27-x64/lib/ruby/2.7.0/rubygems -rrubygems C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR=C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/rdkafka-0.8.1 RUBYLIBDIR=C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.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, review 'C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rdkafka-0.8.1/ext/tmp/x86_64-w64-mingw32/ports/librdkafka/1.4.0/configure.log' to see what happened. Last lines are:
mklove/modules/configure.base: line 2047: source: configure.self: file not found
rake aborted!
Failed to complete configure task
Tasks: TOP => default
(See full trace by running task with --trace)
rake failed, exit code 1
Gem files will remain installed in C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rdkafka-0.8.1 for inspection.
Results logged to C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/rdkafka-0.8.1/gem_make.out
Any help would be appreciated :)
The text was updated successfully, but these errors were encountered: