error compilate


(antonio) #1

Hello, my compilation is failed, and I can not go forward…

the error is next:

antonio@antonio-VirtualBox:~/syncthing$ sudo ./build.sh GOPATH is / cmd/stbench/main.go:21:2: cannot find package “github.com/syncthing/syncthing/lib/rc” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/rc (from $GOROOT) /src/github.com/syncthing/syncthing/lib/rc (from $GOPATH) cmd/stcli/client.go:11:2: cannot find package “github.com/AudriusButkevicius/cli” in any of: /usr/lib/go-1.6/src/github.com/AudriusButkevicius/cli (from $GOROOT) /src/github.com/AudriusButkevicius/cli (from $GOPATH) cmd/stcli/cmd_devices.go:10:2: cannot find package “github.com/syncthing/syncthing/lib/config” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/config (from $GOROOT) /src/github.com/syncthing/syncthing/lib/config (from $GOPATH) cmd/stcli/utils.go:20:2: cannot find package “github.com/syncthing/syncthing/lib/protocol” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/protocol (from $GOROOT) /src/github.com/syncthing/syncthing/lib/protocol (from $GOPATH) cmd/stdisco/main.go:17:2: cannot find package “github.com/syncthing/syncthing/lib/beacon” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/beacon (from $GOROOT) /src/github.com/syncthing/syncthing/lib/beacon (from $GOPATH) cmd/stdisco/main.go:18:2: cannot find package “github.com/syncthing/syncthing/lib/discover” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/discover (from $GOROOT) /src/github.com/syncthing/syncthing/lib/discover (from $GOPATH) cmd/stdiscosrv/ql.go:10:2: cannot find package “github.com/cznic/ql” in any of: /usr/lib/go-1.6/src/github.com/cznic/ql (from $GOROOT) /src/github.com/cznic/ql (from $GOPATH) cmd/stdiscosrv/querysrv.go:21:2: cannot find package “github.com/golang/groupcache/lru” in any of: /usr/lib/go-1.6/src/github.com/golang/groupcache/lru (from $GOROOT) /src/github.com/golang/groupcache/lru (from $GOPATH) cmd/stdiscosrv/psql.go:9:2: cannot find package “github.com/lib/pq” in any of: /usr/lib/go-1.6/src/github.com/lib/pq (from $GOROOT) /src/github.com/lib/pq (from $GOPATH) cmd/stdiscosrv/main.go:17:2: cannot find package “github.com/syncthing/syncthing/lib/tlsutil” in any of: /usr/lib/go-1.6/src/github.com/syncthing/syncthing/lib/tlsutil (from $GOROOT)


(Jakob Borg) #2

Please read and follow the build instructions: https://docs.syncthing.net/dev/building.html

We’ve had this discussion before. You were further along then it seems.


(system) #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.