You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2022. It is now read-only.
Using gem install ruby-stemmer
on Windows 10 returns this error code:
Microsoft Windows [Version 10.0.19043.1586]
C:\Users\username>gem install ruby-stemmer
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing ruby-stemmer:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-stemmer-3.0.0/ext/lingua
C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/3.0.0 -r ./siteconf20220316-10816-o9w6w1.rb extconf.rb
The filename, directory name, or volume label syntax is incorrect.
*** 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=C:/Ruby30-x64/bin/$(RUBY_BASE_NAME)
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/ruby-stemmer-3.0.0 for inspection.
Results logged to C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/ruby-stemmer-3.0.0/gem_make.out
None of the above configuration options resolves the issue.
The "gem_make.out" file contains the same error code.
Trying the recommended Windows options gem install ruby-stemmer --platform=x86-mingw32
and gem install ruby-stemmer --platform=x86-mswin32
returns the same error.
My ruby version is ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]
Using
gem install ruby-stemmeron Windows 10 returns this error code:
None of the above configuration options resolves the issue.
The "gem_make.out" file contains the same error code.
Trying the recommended Windows options
gem install ruby-stemmer --platform=x86-mingw32and
gem install ruby-stemmer --platform=x86-mswin32returns the same error.
My ruby version is
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]