go: downloading github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
github.com/Azure/go-ntlmssp@v0.0.0-20200615164410-66371956d46c: Get "https://proxy.golang.org/github.com/%21azure/go-ntlmssp/@v/v0.0.0-20200615164410-66371956d46c.mod": dial tcp 142.251.43.17:443:
connect: connection refused
Building targets
no Go files in /home/hann/LubanCatWrt/build_dir/target-aarch64_generic_musl/frp-0.45.0/.go_work/build
Makefile:69: recipe for target '/home/hann/LubanCatWrt/build_dir/target-aarch64_generic_musl/frp-0.45.0/.built' failed
make[3]: *** [/home/hann/LubanCatWrt/build_dir/target-aarch64_generic_musl/frp-0.45.0/.built] Error 1
make[3]: Leaving directory '/home/hann/LubanCatWrt/feeds/packages/net/frp'
time: package/feeds/packages/frp/compile#0.63#0.74#403.55
ERROR: package/feeds/packages/frp failed to build.
如上提示:
https://proxy.golang.org/github.com/* /go-ntlmssp*
这个网址是进不去的。
需要使用国内代理站点
这个是在编译frp-0.45.0的时候发生的;
网上搜,会告诉你这么干,包括https://goproxy.cn/的提示也是
$ export GO111MODULE=on
$ export GOPROXY=https://goproxy.cn
这个帖子告诉我,export不能放到终端中执行,需要在Makefile中
在frp的Makefile中进行修改,位置如下
/home/hann/LubanCatWrt/feeds/packages/net/frp
修改内容参考https://goproxy.cn的 两个export