kakao / n2

TOROS N2 - lightweight approximate Nearest Neighbor library which runs fast even with large datasets
Apache License 2.0
567 stars 71 forks source link

[Go binding] Linux make error: make: *** [go] Error 1 #44

Open Claus1 opened 3 years ago

Claus1 commented 3 years ago

Commands were executed successfully: $ git clone https://github.com/kakao/n2.git $ cd n2 $ git submodule update --init

then

admin@MS7B84:~/Downloads/temp/n2$ make go github.com/google/go-github (download) cannot find package "github.com/google/go-github/v33/github" in any of: /usr/local/go/src/github.com/google/go-github/v33/github (from $GOROOT) /home/george/go/src/github.com/google/go-github/v33/github (from $GOPATH) get "golang.org/x/tools/go/packages": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/go/packages?go-get=1 get "golang.org/x/tools/go/packages": verifying non-authoritative meta tag golang.org/x/tools (download) get "golang.org/x/mod/semver": found meta tag get.metaImport{Prefix:"golang.org/x/mod", VCS:"git", RepoRoot:"https://go.googlesource.com/mod"} at //golang.org/x/mod/semver?go-get=1 get "golang.org/x/mod/semver": verifying non-authoritative meta tag golang.org/x/mod (download) get "golang.org/x/xerrors": found meta tag get.metaImport{Prefix:"golang.org/x/xerrors", VCS:"git", RepoRoot:"https://go.googlesource.com/xerrors"} at //golang.org/x/xerrors?go-get=1 golang.org/x/xerrors (download) github.com/google/pprof (download) github.com/golang/mock (download) get "golang.org/x/time/rate": found meta tag get.metaImport{Prefix:"golang.org/x/time", VCS:"git", RepoRoot:"https://go.googlesource.com/time"} at //golang.org/x/time/rate?go-get=1 get "golang.org/x/time/rate": verifying non-authoritative meta tag golang.org/x/time (download) github.com/google/uuid (download) github.com/google/go-querystring (download) get "google.golang.org/appengine": found meta tag get.metaImport{Prefix:"google.golang.org/appengine", VCS:"git", RepoRoot:"https://github.com/golang/appengine"} at //google.golang.org/appengine?go-get=1 google.golang.org/appengine (download) get "google.golang.org/appengine/log": found meta tag get.metaImport{Prefix:"google.golang.org/appengine", VCS:"git", RepoRoot:"https://github.com/golang/appengine"} at //google.golang.org/appengine/log?go-get=1 get "google.golang.org/appengine/log": verifying non-authoritative meta tag get "golang.org/x/term": found meta tag get.metaImport{Prefix:"golang.org/x/term", VCS:"git", RepoRoot:"https://go.googlesource.com/term"} at //golang.org/x/term?go-get=1 golang.org/x/term (download) github.com/GoKillers/libsodium-go (download) github.com/PuerkitoBio/goquery (download) github.com/andybalholm/cascadia (download) cannot find package "github.com/google/go-github/v32/github" in any of: /usr/local/go/src/github.com/google/go-github/v32/github (from $GOROOT) /home/george/go/src/github.com/google/go-github/v32/github (from $GOPATH) github.com/xlzd/gotp (download) github.com/pmezard/go-difflib (download) github.com/cheggaaa/pb (download) github.com/mattn/go-runewidth (download) github.com/rivo/uniseg (download) github.com/davecgh/go-spew (download) github.com/stretchr/objx (download) github.com/stretchr/testify (download) get "gopkg.in/yaml.v3": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v3", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v3"} at //gopkg.in/yaml.v3?go-get=1 gopkg.in/yaml.v3 (download) github.com/graph-gophers/graphql-go (download) github.com/opentracing/opentracing-go (download) github.com/pkg/errors (download) get "go4.org/syncutil/singleflight": found meta tag get.metaImport{Prefix:"go4.org", VCS:"git", RepoRoot:"https://github.com/go4org/go4"} at //go4.org/syncutil/singleflight?go-get=1 get "go4.org/syncutil/singleflight": verifying non-authoritative meta tag go4.org (download) get "golang.org/x/build/autocertcache": found meta tag get.metaImport{Prefix:"golang.org/x/build", VCS:"git", RepoRoot:"https://go.googlesource.com/build"} at //golang.org/x/build/autocertcache?go-get=1 get "golang.org/x/build/autocertcache": verifying non-authoritative meta tag golang.org/x/build (download) github.com/envoyproxy/go-control-plane (download) github.com/cncf/xds (download) github.com/envoyproxy/protoc-gen-validate (download) github.com/cncf/udpa (download) github.com/census-instrumentation/opencensus-proto (download) github.com/golang/glog (download) github.com/google/cel-go (download) github.com/stoewer/go-strcase (download) github.com/antlr/antlr4 (download) get "gopkg.in/check.v1": found meta tag get.metaImport{Prefix:"gopkg.in/check.v1", VCS:"git", RepoRoot:"https://gopkg.in/check.v1"} at //gopkg.in/check.v1?go-get=1 gopkg.in/check.v1 (download) github.com/kr/pretty (download) github.com/kr/text (download) github.com/rogpeppe/go-internal (download) get "gopkg.in/src-d/go-git-fixtures.v3": found meta tag get.metaImport{Prefix:"gopkg.in/src-d/go-git-fixtures.v3", VCS:"git", RepoRoot:"https://gopkg.in/src-d/go-git-fixtures.v3"} at //gopkg.in/src-d/go-git-fixtures.v3?go-get=1 gopkg.in/src-d/go-git-fixtures.v3 (download) github.com/alcortesm/tgz (download) github.com/jessevdk/go-flags (download) github.com/armon/go-socks5 (download) github.com/gliderlabs/ssh (download) github.com/anmitsu/go-shlex (download) Makefile:16: recipe for target 'go' failed make: *** [go] Error 1