missdeer/avege

怎么解决unrecognized import path "math/bits" (import path does not begin with hostname)?

Opened this issue · 6 comments

hi。

yudeMacBook-Air:gopath brite$ go get -u -f -v github.com/RouterScript/ProxyClient
github.com/RouterScript/ProxyClient (download)
github.com/RouterScript/HTTPProxy (download)
github.com/RouterScript/SOCKSProxy (download)
github.com/shadowsocks/go-shadowsocks2 (download)
golang.org/x/crypto (download)
golang.org/x/sys (download)
github.com/Yawning/chacha20 (download)
package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)
yudeMacBook-Air:gopath brite$

tks

hi.
其实,升级go到go1.10.2就解决问题了。但是,
yudeMacBook-Air:avege brite$ pwd
/Users/brite/avege/src/avege
yudeMacBook-Air:avege brite$ GOPATH=$GOPATH:$PWD/../.. go build
../common/fs/util.go:9:2: no Go files in /Users/brite/go1.10.2/go/gopath/src/github.com/go-fsnotify/fsnotify
yudeMacBook-Air:avege brite$

怎么解决?

哦,修改了../common/fs/util.go文件,把里面的github.com/go-fsnotify/fsnotify 改为了
github.com/fsnotify/fsnotify ,然后运行GOPATH=$GOPATH:$PWD/../.. go build ,这次成功生成了可执行文件avege.但是运行./avege ,出现提示:dummy file
这是什么意思呢?

参考wiki修改配置文件

@missdeer
参考wiki,修改了配置文件。但是运行./avege ,还是出现提示:dummy file。这是怎么回事?

另外avege没有使用帮助的吗?
yudeMacBook-Air:avege brite$ ./avege -h
dummy file
yudeMacBook-Air:avege brite$