-
Notifications
You must be signed in to change notification settings - Fork 8
Description
hi。
我在mac机器上运行./build.sh,能生成可执行文件client。
但是在服务器上运行./build.sh遇错:
root@localhost:/mika-by-sakeven# ./build.sh/mika-by-sakeven#
building client ...
cmd/client/client.go:8:2: cannot find package "github.com/sakeven/mika/protocols" in any of:
/root/go/src/github.com/sakeven/mika/protocols (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols (from $GOPATH)
cmd/client/client.go:9:2: cannot find package "github.com/sakeven/mika/protocols/mika" in any of:
/root/go/src/github.com/sakeven/mika/protocols/mika (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/mika (from $GOPATH)
cmd/client/client.go:10:2: cannot find package "github.com/sakeven/mika/protocols/proxy/http" in any of:
/root/go/src/github.com/sakeven/mika/protocols/proxy/http (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/proxy/http (from $GOPATH)
cmd/client/client.go:11:2: cannot find package "github.com/sakeven/mika/protocols/proxy/socks5" in any of:
/root/go/src/github.com/sakeven/mika/protocols/proxy/socks5 (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/proxy/socks5 (from $GOPATH)
cmd/client/client.go:12:2: cannot find package "github.com/sakeven/mika/protocols/transfer/kcp" in any of:
/root/go/src/github.com/sakeven/mika/protocols/transfer/kcp (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/transfer/kcp (from $GOPATH)
cmd/client/client.go:13:2: cannot find package "github.com/sakeven/mika/protocols/transfer/obfs" in any of:
/root/go/src/github.com/sakeven/mika/protocols/transfer/obfs (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/transfer/obfs (from $GOPATH)
cmd/client/client.go:14:2: cannot find package "github.com/sakeven/mika/protocols/transfer/tcp" in any of:
/root/go/src/github.com/sakeven/mika/protocols/transfer/tcp (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/protocols/transfer/tcp (from $GOPATH)
cmd/client/client.go:15:2: cannot find package "github.com/sakeven/mika/utils" in any of:
/root/go/src/github.com/sakeven/mika/utils (from $GOROOT)
/root/go/gopath/src/github.com/sakeven/mika/utils (from $GOPATH)
build client failed!
root@localhost:
怎么解决?