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

GitHub 加速计划 / fr / frp
83.03 K
13 K
下载
frp 是一个专注于内网穿透的高性能的反向代理应用,支持 TCP、UDP、HTTP、HTTPS 等多种协议,且支持 P2P 通信。可以将内网服务以安全、便捷的方式通过具有公网 IP 节点的中转暴露到公网。
最近提交(Master分支:1 个月前 )
fe4ca1b5 修复爱发电链接无法访问问题 22 天前
edd7cf89 Signed-off-by: crystalstall <crystalruby@qq.com> 22 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐