tidb在arm上部署的编译问题

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

看起来是下载 go 的依赖包有问题,可以试试设置一下 proxy

设置 proxy?应该怎么设置呢?不好意思啊,我刚接触这方面,所以不太懂,您可以稍微说的详细一点

可以参考下这个

proxyAddress:port这个填哪个?

可以填你自己科学上网的代理地址 如果没有的话可以设置一下

export GOPROXY=https://goproxy.io

让 go get 走国内代理

我刚刚问了一下,我们的代理不能随便设置,我看了您发给我的那个一键解决的链接里第一个方法里有手动下载的方法,如果我不通过Linux,想手动下载go的依赖包,请问您这边有下载地址吗?

这个可以百度搜索一下关于 go 离线下载包的方法

https://github.com/golang/go
咨询一下,直接在这上面下载go的包,那么依赖包也会有吗?

可以下下来 run 一下,如果有提示依赖缺失的,那还需要下载对应的依赖包

您好,谢谢您上次的回答,依赖包的问题已经不报错了,但是make时,开头就直接显示致命:fatal: bad revision ‘HEAD’ fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree. Use ‘–’ to separate paths from revisions, like this: ‘git […] – […]’ fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree. Use ‘–’ to separate paths from revisions, like this: ‘git […] – […]’ 报了之后也会继续向下执行,但是执行到一定时候就停滞了,没有成功,请问一下,开头那是什么错误呢,有什么具体的解决方法吗?

“fatal: bad revision ‘HEAD’ fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree” 是 github 报的错误信息,可以看是执行哪个命令报错

你好,我在编译tikv时出现了如下问题,编译到一半就停了,尝试多次也没有用,我在其他帖子里看到说是网络问题,要查询与GitHub之间的网络,我想请教一下该怎么查询与GitHub之间的网络,需要修改什么地方吗? [root@host- tikv]# cargo build

info: syncing channel updates for ‘nightly-2019-06-14-aarch64-unknown-linux-gnu’
info: latest update on 2019-06-14, rust version 1.37.0-nightly (0e4a56b4b 2019-06-13)
info: downloading component ‘cargo’
info: downloading component ‘rust-std’
info: downloading component ‘rustc’
info: installing component ‘cargo’
info: installing component ‘rust-std’
info: installing component ‘rustc’
Updating crates.io index
Updating git repository https://github.com/pingcap/kvproto.git
Updating git repository https://github.com/busyjay/log
Updating git repository https://github.com/pingcap/murmur3.git
Updating git repository https://github.com/breeswish/slog-global.git
Updating git repository https://github.com/pingcap/tipb.git
Updating git repository https://github.com/tikv/procinfo-rs
Updating git repository https://github.com/tikv/rust-rocksdb.git
Fetch [=======> ] 16.23%

您好: 这个是在拉取包的过程中存在问题,所以在其他帖子答复,需要查看网络。 您可以换其他网络尝试,多谢.