-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
First I follow the README and do:
$ go get gopkg.in/libgit2/git2go.v23
# gopkg.in/libgit2/git2go.v23
could not determine kind of name for C.GIT_CHECKOUT_DONT_WRITE_INDEX
could not determine kind of name for C.GIT_CHECKOUT_RECREATE_MISSINGI ignore the errors and continue with the README.
Then I read this note
OSX El Capitan users may encounter the following error
could not determine kind of name for C.GIT_CHECKOUT_SAFE_CREATEwhen running
$ go get gopkg.in/libgit2/git2go.v22
So I follow to the libgit2 issue thread and try
$ brew unlink libgit2
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew/d6a9bb6adeb2043c5c5e9ba3a878decdefc1d240/Library/Formula/libgit2.rb
$ brew switch libgit2 0.22.3
$ go get gopkg.in/libgit2/git2go.v22Happy to see no errors return, I continue to build:
$ git clone numa08/git-gitlab
$ cd git-gitlab
$ make build
go build -o build/git-lab
global-gitconfig.go:5:2: cannot find package "gopkg.in/libgit2/git2go.v24" in any of:
/usr/local/Cellar/go/1.7.3/libexec/src/gopkg.in/libgit2/git2go.v24 (from $GOROOT)
/Users/pavel/dev/go/src/gopkg.in/libgit2/git2go.v24 (from $GOPATH)
make: *** [build] Error 1So now it needs v24 of git2go ? What is going on here? I try
go get gopkg.in/libgit2/git2go.v24
# gopkg.in/libgit2/git2go.v24
could not determine kind of name for C.GIT_CHECKOUT_DONT_WRITE_INDEX
could not determine kind of name for C.GIT_CHECKOUT_RECREATE_MISSINGNothing seems right... is there a workaround I'm missing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels