我正在尝试使用本指南安装比特币服务器
https://www.sky-ip.org/configure-bitcoin-node-debian-ubuntu.html
但是当我制作时,我看到了错误
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
Making all in src
make[1]: Entering directory /root/bitcoinsrc/bitcoin/src
make[2]: Entering directory /root/bitcoinsrc/bitcoin/src
CXX libbitcoin_server_a-main.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions.
make[2]: ** [libbitcoin_server_a-main.o] Error 4
make[2]: Leaving directory /root/bitcoinsrc/bitcoin/src
make[1]: ** [all-recursive] Error 1
make[1]: Leaving directory /root/bitcoinsrc/bitcoin/src
make: ** [all-recursive] Error 1'
按照安装并使用 clang 的建议,我无法让 Ubuntu 真正使用 Clang:
当我尝试 make 时,它仍然使用旧的 GCC。当我尝试 'sudo apt-get update-alternatives --config c++' 时,
E: 命令行选项 --config 无法理解
当我尝试 sudo update-alternatives --query c++ 时我得到了
Name: c++
Link: /usr/bin/c++
Slaves:
c++.1.gz /usr/share/man/man1/c++.1.gz
Status: auto
Best: /usr/bin/clang++-3.6
Value: /usr/bin/clang++-3.6
Alternative: /usr/bin/clang++-3.6
Priority: 100
Slaves:
Alternative: /usr/bin/g++
Priority: 20
Slaves:
c++.1.gz /usr/share/man/man1/g++.1.gz
我希望能够以某种方式编译它。这是我第一次尝试编译,所以我对此很不熟悉。请解释一下