No, I meant go install
(I have corrected my “guide”).
Ok - thanks for all your suggestions.
It doesn’t seem to matter if I run w/ @kaushalmodi’s suggestion, of @bep’s - this result is the same in both cases (and same as before):
yarko:~/workspace/gohugo/hugo$ go install
# runtime
/usr/local/go/src/runtime/map.go:64:2: bucketCntBits redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:64:18
/usr/local/go/src/runtime/map.go:65:2: bucketCnt redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:65:23
/usr/local/go/src/runtime/map.go:69:2: loadFactorNum redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:69:18
/usr/local/go/src/runtime/map.go:70:2: loadFactorDen redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:70:18
/usr/local/go/src/runtime/map.go:76:2: maxKeySize redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:76:17
/usr/local/go/src/runtime/map.go:77:2: maxValueSize redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:77:17
/usr/local/go/src/runtime/map.go:82:2: dataOffset redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:85:4
/usr/local/go/src/runtime/map.go:91:2: empty redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:91:19
/usr/local/go/src/runtime/map.go:92:2: evacuatedEmpty redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:92:19
/usr/local/go/src/runtime/map.go:93:2: evacuatedX redeclared in this block
previous declaration at /usr/local/go/src/runtime/hashmap.go:93:19
/usr/local/go/src/runtime/map.go:93:2: too many errors
yarko:~/workspace/gohugo/hugo$
Googling for that error gives few hits. One of them is GitHub · Where software is built.
See if that or any of other search hits for that error have an answer for you.
Also, how did you update go
? The best way (and has always worked for me) is to:
- Download the latest archive from https://golang.org/dl/.
-
rm -rf ~/go
(where I had the older version installed) - Extract that archive (you will get a
go/
dir out of it) and move thatgo/
dir to~/go
. - I have set
GOROOT
to~/go
andGOPATH
to~/go.apps
.
Yes - I’d already tried this…
I suppose I can clear out my go install (/usr/local/go
) and do a completely clean install of go-1.11
I’ll try that later today.
Ah! So you didn’t do a clean install… I guess that would cause that issue
if so, that would be the first time since ? 1.6 or so;
Cleaning out ~/go … is more work, since i have built things there I use. I can move it, and fix that, but… no time for that kind of baby-sitting work at the moment. Later. I’ll ping w/ results later, when I get back to it.
Ok - wiping out /usr/local/go
and doing a fresh install there is what it took (I did not need to wipe out my ~/go
).
Following that, go install
from the cloned github
directory just worked. (also worked on a fresh ~/go
, but that was not necessary).
Thanks for all your pointers!