Failure to go get on Mac OS X 10.8

166 views
Skip to first unread message

Victor Song

unread,
Aug 21, 2012, 9:25:48 AM8/21/12
to mgo-...@googlegroups.com
On Mac OS X 10.8 (mountain lion), I installed Bazaar 2.5.0 for Snow Leopard from http://wiki.bazaar.canonical.com/MacOSXDownloads , and ran "sudo go get labix.org/v2/mgo". The directory "/usr/local/go/src/pkg/labix.org/v2/" is created but no content is retrieved. Could someone advise?

Francisco Souza

unread,
Aug 21, 2012, 9:26:54 AM8/21/12
to mgo-...@googlegroups.com
What's the output of the go get command?

--
~f

Victor Song

unread,
Aug 21, 2012, 9:31:20 AM8/21/12
to mgo-...@googlegroups.com
The command is stuck with no output.

Francisco Souza

unread,
Aug 21, 2012, 10:00:18 AM8/21/12
to mgo-...@googlegroups.com
On Tue, Aug 21, 2012 at 10:31 AM, Victor Song <yvs...@gmail.com> wrote:
> The command is stuck with no output.

Are you behind a proxy?

You can also set GOPATH (`go help gopath`), what would prevent you
from using sudo.

Finally, try running go get with the -v flag.

--
~f

Victor Song

unread,
Aug 21, 2012, 10:46:11 AM8/21/12
to mgo-...@googlegroups.com
I turned on -v and it worked. Maybe it was stuck for some random reason. Thanks.
Reply all
Reply to author
Forward
0 new messages