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
Note: See
TracTickets for help on using
tickets.
Installing something under the macports prefix
/opt/local/
requires root priviliges and is highly discouraged. Please use thego-tools
port which includesgodoc
.