Opened 9 years ago

Closed 9 years ago

#51273 closed defect (wontfix)

Installing godoc fails

Reported by: secsaba (Csaba Endre Simon) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ci42
Port: go

Description

GOPATH is set to ~/src/go. When trying to issue 'go get' it fails with the following error:

$ go get -u golang.org/x/tools/cmd/godoc
go install golang.org/x/tools/cmd/godoc: open /opt/local/lib/go/bin/godoc: permission denied

Change History (1)

comment:1 Changed 9 years ago by ci42

Resolution: wontfix
Status: newclosed

Installing something under the macports prefix /opt/local/ requires root priviliges and is highly discouraged. Please use the go-tools port which includes godoc.

$ sudo port install go-tools
Note: See TracTickets for help on using tickets.