1、编译环境
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
Release: 7.4.1708
Codename: Core
2、下载文件
git clone https://github.com/XXXXXX/bitcoin.git (XXXXXX是个人github账号)
3、编译过程
进到bitcoin的根目录
./autogen.sh
./configure --without-gui --disable-wallet
make -j
4、编译过程中错误处理
virtual memory exhausted: Cannot allocate memory
g++: internal compiler error: Killed (program cc1plus)