How to build mongo-tools from source code?

Hi Tim,

Thank you for your reply. Its working fine

But I am getting the below error when I run build.sh
$ sudo ./build.sh
Building bsondump…
import cycle not allowed
package main
imports github.com/mongodb/mongo-tools-common/log
imports fmt
imports errors
imports runtime
imports runtime/internal/atomic
imports unsafe
imports runtime
import cycle not allowed
package main
imports github.com/mongodb/mongo-tools-common/signals
imports github.com/mongodb/mongo-tools-common/util
imports go.mongodb.org/mongo-driver/mongo
imports crypto/tls
imports crypto/x509
imports net
imports runtime/cgo
imports runtime/cgo
Error building bsondump

Mongo tools are placed in below path
/home/mongoadm/go/src/github.com/mongodb/mongo-tools

GOPATH=“/home/mongoadm/go”

Please help me in this regard.

Regards,
Satya