8000 installation of zoekt-indexer fails · Issue #120 · google/zoekt · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

installation of zoekt-indexer fails  #120

Open

Description

@jkjha

I am following this documentation for setting up zoekt.
https://github.com/google/zoekt

But when I run this command:

go install github.com/google/zoekt/cmd/zoekt-index

it fails with error:

../../go/src/github.com/google/zoekt/cmd/zoekt-index/main.go:30:2: cannot find package "go.uber.org/automaxprocs/maxprocs" in any of: /usr/local/go/src/go.uber.org/automaxprocs/maxprocs (from $GOROOT) /home/username/go/src/go.uber.org/automaxprocs/maxprocs (from $GOPATH)

Can anyone please help if I am missing anything or its a regression.

Activity

  1. jkjha commented on Oct 6, 2020

    @jkjha
    Author

    I have tried on Mac and Ubuntu vms. But it fails with same error.

  2. keegancsmith commented on Oct 6, 2020

    @keegancsmith
    Contributor

    Which version of go are you using? Older versions of go require GO111MODULE=on environment variable. Try GO111MODULE=on go install github.com/google/zoekt/cmd/zoekt-index. If you want to stick to using the GOPATH, try doing go get ./... first to fetch deps.

  3. jkjha commented on Oct 7, 2020

    @jkjha
    Author

    I am using go version go1.15.2 darwin/amd64

  4. robinp-tw commented on Nov 12, 2020

    @robinp-tw

    So for me, GO111MODULE=on go get ..... installed into ~/go/bin. Note that it is get, not install. 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0