Open jibe-b opened 9 years ago
On Ubuntu 14.02 with go manually installed, the command:
GOPATH=pwd go install github.com/cascades-fbp/cascades/cmd/...
pwd
returns
src/github.com/cascades-fbp/cascades/server/restful.go:7:2: cannot find package "github.com/bmizerany/pat" in any of: /usr/local/go/src/github.com/bmizerany/pat (from $GOROOT) /opt/cascades-fbp/src/github.com/bmizerany/pat (from $GOPATH) src/github.com/cascades-fbp/cascades/cmd/cascades/library.go:15:2: cannot find package "github.com/codegangsta/cli" in any of: /usr/local/go/src/github.com/codegangsta/cli (from $GOROOT) /opt/cascades-fbp/src/github.com/codegangsta/cli (from $GOPATH) src/github.com/cascades-fbp/cascades/log/log.go:9:2: cannot find package "github.com/daviddengcn/go-colortext" in any of: /usr/local/go/src/github.com/daviddengcn/go-colortext (from $GOROOT) /opt/cascades-fbp/src/github.com/daviddengcn/go-colortext (from $GOPATH) src/github.com/cascades-fbp/cascades/graph/fbp.go:4:2: cannot find package "github.com/oleksandr/fbp" in any of: /usr/local/go/src/github.com/oleksandr/fbp (from $GOROOT) /opt/cascades-fbp/src/github.com/oleksandr/fbp (from $GOPATH) src/github.com/cascades-fbp/cascades/runtime/runtime.go:13:2: cannot find package "github.com/pebbe/zmq4" in any of: /usr/local/go/src/github.com/pebbe/zmq4 (from $GOROOT) /opt/cascades-fbp/src/github.com/pebbe/zmq4 (from $GOPATH)
while:
GOPATH=pwd go get github.com/cascades-fbp/cascades/cmd/... works fine.
source: http://stackoverflow.com/questions/24095004/cant-load-package-package-no-buildable-go-source-files
Did you try to install all dependencies manually with go get?
On Ubuntu 14.02 with go manually installed, the command:
returns
src/github.com/cascades-fbp/cascades/server/restful.go:7:2: cannot find package "github.com/bmizerany/pat" in any of: /usr/local/go/src/github.com/bmizerany/pat (from $GOROOT) /opt/cascades-fbp/src/github.com/bmizerany/pat (from $GOPATH) src/github.com/cascades-fbp/cascades/cmd/cascades/library.go:15:2: cannot find package "github.com/codegangsta/cli" in any of: /usr/local/go/src/github.com/codegangsta/cli (from $GOROOT) /opt/cascades-fbp/src/github.com/codegangsta/cli (from $GOPATH) src/github.com/cascades-fbp/cascades/log/log.go:9:2: cannot find package "github.com/daviddengcn/go-colortext" in any of: /usr/local/go/src/github.com/daviddengcn/go-colortext (from $GOROOT) /opt/cascades-fbp/src/github.com/daviddengcn/go-colortext (from $GOPATH) src/github.com/cascades-fbp/cascades/graph/fbp.go:4:2: cannot find package "github.com/oleksandr/fbp" in any of: /usr/local/go/src/github.com/oleksandr/fbp (from $GOROOT) /opt/cascades-fbp/src/github.com/oleksandr/fbp (from $GOPATH) src/github.com/cascades-fbp/cascades/runtime/runtime.go:13:2: cannot find package "github.com/pebbe/zmq4" in any of: /usr/local/go/src/github.com/pebbe/zmq4 (from $GOROOT) /opt/cascades-fbp/src/github.com/pebbe/zmq4 (from $GOPATH)
while:
source: http://stackoverflow.com/questions/24095004/cant-load-package-package-no-buildable-go-source-files