meshbird
meshbird copied to clipboard
install from source does not work
go get github.com/meshbird/meshbird
fails with the following:
package github.com/meshbird/meshbird: no Go files in /home/mgarton/gopath/src/github.com/meshbird/meshbird
Hey @mjgarton!
Please, use Makefile inside. Run
$ make build
The website still says to run go get github.com/meshbird/meshbird
which also fails for me.
Yes, I should have been clearer. The point of this issue is not that I can't work out how to build the code, it's that the documentation is wrong and I can't build it by following the documentation.
Also, if you would be interested in tweaking the project layout to be more typical of common Go applications, which would also reinstate the ability to use go get
then I'd be happy to make a PR for that.
Still the same problem:
$ go get github.com/meshbird/meshbird
can't load package: package github.com/meshbird/meshbird: no Go files in /home/xaionaro/go/src/github.com/meshbird/meshbird
$ go get github.com/meshbird/meshbird/...
package meshbird/config: unrecognized import path "meshbird/config" (import path does not begin with hostname)
package meshbird/iface: unrecognized import path "meshbird/iface" (import path does not begin with hostname)
package meshbird/protocol: unrecognized import path "meshbird/protocol" (import path does not begin with hostname)
package meshbird/transport: unrecognized import path "meshbird/transport" (import path does not begin with hostname)
package meshbird/utils: unrecognized import path "meshbird/utils" (import path does not begin with hostname)
package meshbird: unrecognized import path "meshbird" (import path does not begin with hostname)
xaionaro@sonic:~/go/src/github.com/meshbird/meshbird$ make build
go build -v -o bin/meshbird src/meshbird/cmd/main.go
src/meshbird/cmd/main.go:5:2: cannot find package "meshbird" in any of:
/home/xaionaro/go/src/github.com/meshbird/meshbird/src/meshbird/cmd/vendor/meshbird (vendor tree)
/home/xaionaro/go/src/github.com/meshbird/meshbird/src/meshbird/vendor/meshbird
/home/xaionaro/.gimme/versions/go1.12.linux.amd64/src/meshbird (from $GOROOT)
/home/xaionaro/go/src/meshbird (from $GOPATH)
src/meshbird/cmd/main.go:6:2: cannot find package "meshbird/config" in any of:
/home/xaionaro/go/src/github.com/meshbird/meshbird/src/meshbird/cmd/vendor/meshbird/config (vendor tree)
/home/xaionaro/go/src/github.com/meshbird/meshbird/src/meshbird/vendor/meshbird/config
/home/xaionaro/.gimme/versions/go1.12.linux.amd64/src/meshbird/config (from $GOROOT)
/home/xaionaro/go/src/meshbird/config (from $GOPATH)
Makefile:6: recipe for target 'build' failed
make: *** [build] Error 1