cdnbye / cbsignal

The official signaling server for CDNBye SDKs

Home Page:https://www.cdnbye.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some pakage not found

pedro0606 opened this issue · comments

I build on ubuntu 18.04
How to fix ?
------build signaler--------
GOOS=linux GOARCH=amd64 go build -o cbsignal -v main.go
main.go:5:2: cannot find package "cbsignal/client" in any of:
/usr/lib/go-1.10/src/cbsignal/client (from $GOROOT)
/root/go/src/cbsignal/client (from $GOPATH)
main.go:6:2: cannot find package "cbsignal/handler" in any of:
/usr/lib/go-1.10/src/cbsignal/handler (from $GOROOT)
/root/go/src/cbsignal/handler (from $GOPATH)
main.go:7:2: cannot find package "cbsignal/hub" in any of:
/usr/lib/go-1.10/src/cbsignal/hub (from $GOROOT)
/root/go/src/cbsignal/hub (from $GOPATH)
Makefile:15: recipe for target 'main' failed

Modify $GOPATH, it should be the same directory path as src.