Error installing on Windows Subsystem for Linux WSL
flyingpie101 opened this issue · 3 comments
flyingpie101 commented
Building native extensions. This could take a while...
ERROR: Error installing doing:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r ./siteconf20211122-984-1rvl7xd.rb extconf.rb
creating Makefile
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
make "DESTDIR=" clean
/var/lib/gems/2.7.0/gems/make-0.3.1/bin/make:4:in `<top (required)>': undefined local variable or method `make' for main:Object (NameError)
from /usr/local/bin/make:23:in `load'
from /usr/local/bin/make:23:in `<main>'
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
make "DESTDIR="
/var/lib/gems/2.7.0/gems/make-0.3.1/bin/make:4:in `<top (required)>': undefined local variable or method `make' for main:Object (NameError)
from /usr/local/bin/make:23:in `load'
from /usr/local/bin/make:23:in `<main>'
make failed, exit code 1
ttscoff commented
It looks like the `amatch` gem doesn't compile correctly on some systems
(or maybe it's ruby versions, but I tested with 2.6 on Ubuntu and it
seemed to work fine).
I can remove that gem from the requirements, but it will take some
refactoring as most commands now have a `--fuzzy` option that requires
it for fuzzy searching. I'll have to remove that option or come up with
an alternative pair distance algorithm that doesn't require it.
…-Brett
On 22 Nov 2021, at 7:21, flyingpie101 wrote:
```
Building native extensions. This could take a while...
ERROR: Error installing doing:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r
./siteconf20211122-984-1rvl7xd.rb extconf.rb
creating Makefile
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
make "DESTDIR=" clean
/var/lib/gems/2.7.0/gems/make-0.3.1/bin/make:4:in `<top (required)>':
undefined local variable or method `make' for main:Object (NameError)
from /usr/local/bin/make:23:in `load'
from /usr/local/bin/make:23:in `<main>'
current directory: /var/lib/gems/2.7.0/gems/amatch-0.4.0/ext
make "DESTDIR="
/var/lib/gems/2.7.0/gems/make-0.3.1/bin/make:4:in `<top (required)>':
undefined local variable or method `make' for main:Object (NameError)
from /usr/local/bin/make:23:in `load'
from /usr/local/bin/make:23:in `<main>'
make failed, exit code 1
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#127
ttscoff commented
I've pushed 2.0.13 with amatch removed. Please try running gem install doing
again and see if it succeeds now.
flyingpie101 commented
Success. thank you
…On Mon, Nov 22, 2021 at 11:10 AM Brett Terpstra ***@***.***> wrote:
I've pushed 2.0.13 with amatch removed. Please try running gem install
doing again and see if it succeeds now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#127 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYBIJWPKI545PTB6CGRV7TUNJTPXANCNFSM5IQ7JJ3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.