我在代理服务器上。尝试使用以下命令安装洋红色内核入门手册。
当我运行此命令时./scripts/download-toolchain
,收到以下错误日志消息:
sudo ./scripts/download-toolchain
curl Downloading https://fuchsia-build.storage.googleapis.com/magenta/toolchain/x86_64-elf/Linux-x86_64/509cd48809f5252ffc8ef0c72dbf208151750f66
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
尝试添加
curl --insecure
但最终出现tar/bz2
错误。此外,尝试手动构建工具链,但在使用此命令构建内核时
make -j32 magenta-pc-x86-64
返回了许多错误。
请帮助我进一步进行。先感谢您。
要求:有人可以为fuchsia
和添加新标签magenta-kernel
吗?我没有足够的声誉来这样做。
答案1
在代理后面工作确实很痛苦。不过,如果您在工作场所遇到同样的问题,请确保您的代理已配置并且有公司特定的 (ca) 证书。添加它们并更新您的系统,类似的事情就会起作用。 (不要浪费时间手动构建工具链:事情不会成功,你最终会投入太多时间)