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

Tools do not build following README instructions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 100.1.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: