-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS X 10.8.4
It seems that using the brew installed version of go will fail to build the tools:
[ace@h ~]$ brew install go ==> Downloading http://go.googlecode.com/files/go1.0.3.src.tar.gz Already downloaded: /Library/Caches/Homebrew/go-1.0.3.tar.gz ==> ./make.bash --no-clean ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completion has been installed to: /usr/local/share/zsh/site-functions ==> Summary /usr/local/Cellar/go/1.0.3: 3345 files, 100M, built in 19 seconds [ace@h ~]$ cd mongo-tools/ [ace@h mongo-tools]$ ls Godeps bin common legacy mongodump mongoimport mongostat set_gopath_windows.sh Makefile bsondump common.yml legacy-notes.md mongoexport mongooplog mongotop vendor README.md build.sh go.sh legacy26 mongofiles mongorestore set_gopath.sh vendor.sh [ace@h mongo-tools]$ . set_gopath.sh [ace@h mongo-tools]$ mkdir bin mkdir: bin: File exists [ace@h mongo-tools]$ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do > go build -o "bin/$i" $i/main/$i.go > done .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding .gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:12:2: no Go source files in /usr/local/Cellar/go/1.0.3/src/pkg/encoding [ace@h mongo-tools]$ ls bin/ [ace@h mongo-tools]$
- is related to
-
SERVER-17444 Update homebrew to support new tools
- Closed
-
SERVER-15806 Build Go tools in Homebrew formula
- Closed