Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2622

Tools do not build following README instructions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      I tried following https://github.com/mongodb/mongo-tools/#building-tools and received the following error:

      carbon% git clone https://github.com/mongodb/mongo-tools
      Cloning into 'mongo-tools'...
      remote: Enumerating objects: 219, done.
      remote: Counting objects: 100% (219/219), done.
      remote: Compressing objects: 100% (154/154), done.
      remote: Total 34659 (delta 112), reused 127 (delta 56), pack-reused 34440
      Receiving objects: 100% (34659/34659), 38.45 MiB | 1.82 MiB/s, done.
      Resolving deltas: 100% (17034/17034), done.
      carbon% cd mongo-tools
      carbon% export GOROOT=/usr/lib/go-1.14 
      carbon% ./build.sh 
      Current path '/home/sandbox/mongo-tools' doesn't resemble a GOPATH-style path. Aborting.

      "Manual build" isn't working either:

      carbon% . ./set_goenv.sh 
      carbon% set_goenv
      Current path '/home/sandbox/mongo-tools' doesn't resemble a GOPATH-style path. Aborting.

      As a user of tools I expected the readme to provide instructions I could follow to successfully build the tools.

            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Huan Li, Matthew Chiaravalloti, Tim Fogarty
            0 Vote for this issue
            4 Start watching this issue