Skip to content
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

Update the documentation on how to install libgit2 #1058

Open
ferreiratiago opened this issue Aug 23, 2023 · 0 comments
Open

Update the documentation on how to install libgit2 #1058

ferreiratiago opened this issue Aug 23, 2023 · 0 comments

Comments

@ferreiratiago
Copy link
Member

From my understanding, it is not clear our to install libgit in a way that we can build the project.

For instance, when installing libgit using Homebrew we get the following error when trying to compile:

Build Error: go build -o /reviewpad/cli/__debug_bin3142636271 -gcflags all=-N -l .
# github.com/libgit2/git2go/v31
../../../../go/pkg/mod/github.com/libgit2/git2go/v31@v31.7.9/Build_system_dynamic.go:11:3: error: "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.3.0"
# error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.3.0"

The problem is that on homebrew there is no older version of libgit2, the only version is 1.5

The way that it should be followed is the on specified in the libgit repo https://github.com/libgit2/libgit2#building

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant