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

build/install the mongo-tools r4.2.1 on windows

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Community Answered
    • Affects Version/s: None
    • Fix Version/s: No version
    • Component/s: None
    • Labels:
      None

      Description

      I am trying to build the mongo-tools 4.2.1 version source. Getting below error while compiling:

      I cloned the mongo-tools from https://github.com/mongodb/mongo-tools/tree/r4.2.1 to the go directory under src/github.com/mongodb.

      after setting the goroot , executing ./build.sh

      Note: Using cygwin to compile.
       
      {{Building bsondump...bsondump\bsondump.go:21:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\db
      bsondump\bsondump.go:22:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\failpoint
      bsondump\bsondump.go:23:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\json
      bsondump\main\bsondump.go:13:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\log
      bsondump\bsondump.go:25:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\options
      bsondump\main\bsondump.go:14:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\signals
      bsondump\main\bsondump.go:15:2: cannot find package "." in: C:\golang\go1.12\src\github.com\mongodb\mongo-tools-common\util
      bsondump\bsondump.go:18:2: cannot find package "." in: C:\golang\go1.12\src\go.mongodb.org\mongo-driver\bson
      bsondump\bsondump.go:19:2: cannot find package "." in: C:\golang\go1.12\src\go.mongodb.org\mongo-driver\bson\bsontypeError building bsondump}}

      {{}}

      Please let me know why this error is.

        Attachments

          Activity

            People

            Assignee:
            tim.fogarty Tim Fogarty
            Reporter:
            annapoornar0604@gmail.com Annapoorna R
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: