-
Notifications
You must be signed in to change notification settings - Fork 279
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation (via gem install) is failing again on Windows 10 #830
Comments
The fix (libgit2/rugged@2f5a8f6) was merged into master but hasn't made its way into a release branch yet. See libgit2/rugged#791, libgit2/rugged#830.
This issue is solved with the latest release.
|
This is failing on Windows 10 for me and I'm kinda stuck at what to try next. Any help greatly appreciated.
|
Try installing mingw-w64-x86_64-pcre and performing the installation again. You can install it with the following command from msys2.
|
@preetpalS , yep that works. Thanks. I guess it needs to be added to the install/build script? |
@preetpalS oops no sorry I was mistaken:
|
The error says you are missing a library. See libgit2/libgit2#5502 (comment). Based on the discussion, there I would recommend the following: Try running the following command and trying again (I have this package already installed): Both commands install libraries. |
I'm running into this issue also (Windows 10 release 2004, Ruby 2.7.1, x64). I tried installing all three packages (
The mkmf.log contains only this:
When I go to the build directory of libgit2 in the vendor directory of the package and try to run
Any pointers appreciated. Note: Tested with Rugged 0.99, 1.0.0 and 1.0.1. |
@rubin55 Are your msys2 dependencies up to date? Have you run |
Yes, latest version, all packages updated. I'm also trying to just install the
And I still get:
|
I was able to install rugged by making it use the libgit2 library provided by mingw64 (you need to upgrade packages first due to libgit needing to be at least version 1.0.0):
This results in a succesfully installed gem, but trying to use it, I get this:
The file |
It seems that something breaks when building libgit2 with CMake 3.17 or newer in a msys2 environment. Downgrading CMake to 3.16.8 (from https://cmake.org/download/) makes rugged able to build libgit2 and install successfully here. |
I just downgraded to Cmake 3.16.5 (I could not find a package for Cmake 3.16.8 on the MingW mirrors) and I'm getting the exact same error (after running |
I never had any issues with CMake 3.17, but I might not be using the same version of CMake as you are. I am using Command I used to install the package (and usage of library on Windows showing that it installs).
Listing of msys2 packages and information on what CMake version I have.
|
Seems the
pgroup
error--which was fixed recently in #791--is back... 馃槩Key line below is:
The text was updated successfully, but these errors were encountered: