tile38
tile38 copied to clipboard
GOPATH / GOROOT
Thank for you great tool! I've built tile38 the last time in 2021 without any problems. Now make is leading to GOROOT / GOPATH complaints like in https://github.com/tidwall/tile38/issues/6 :
cmd/tile38-luamemtest/main.go:14:2: cannot find package "github.com/tidwall/resp" in any of:
/usr/lib/go/src/github.com/tidwall/resp (from $GOROOT)
./go/src/github.com/tidwall/resp (from $GOPATH)
cmd/tile38-luamemtest/main.go:15:2: cannot find package "github.com/yuin/gopher-lua" in any of:
/usr/lib/go/src/github.com/yuin/gopher-lua (from $GOROOT)
./go/src/github.com/yuin/gopher-lua (from $GOPATH)
[..]
My env: ArchLinux, go 1.22.2
That's really strange. I wonder if there's something up with your Go install?
Maybe try go clean' and make clean`?
I've added a go clean in front of make, which didn't change my error. I've just created the srcdir, it is a new and empty folder.
ArchLinux PKGBUILD may read, but not write outside their context. No access to system GOROOT / GOPATH folders is intentional, it is necessary to set them up ad hoc.