Skip to content

Commit

Permalink
Modify compile introduction of CentOS
Browse files Browse the repository at this point in the history
Modify compile introduction of CentOS
  • Loading branch information
IPCChain committed Apr 8, 2018
1 parent 65be285 commit d91b496
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ IPChain Core currently implements the following:
* Compatibility with the Bitcoin Core set of RPC commands and APIs

# Building IPChain Core
## Build on Ubuntu
## Build on Ubuntu16.04

apt-get install make
apt-get install gcc
Expand Down Expand Up @@ -71,44 +71,44 @@ IPChain Core currently implements the following:

## Build on CentOS7.3

yum install make
yum install gcc
yum install gcc-c++
yum install zlib-devel
yum install openssl-devel
yum groupinstall "Development Tools"
Download&Install miniupnpc library
wget -O miniupnpc-1.6.20120509.tar.gz http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.20120509.tar.gz
tar -zxvf miniupnpc-1.6.20120509.tar.gz
cd miniupnpc-1.6.20120509
make install

Download&Install Boost library
wget https://jaist.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz
tar zxvf boost_1_59_0.tar.gz
cd boost_1_59_0
./bootstrap.sh
./b2
./b2 install
Add boost.conf file in the /etc/ld.so.conf.d/ directory
cd /etc/ld.so.conf.d/
vi boost.conf
Add following content in boost.conf
/usr/local/lib/

ldconfig
yum install libevent-devel
yum install protobuf-devel
yum install protobuf-compiler

git clone https://github.com/IPCChain/ipchain.git
cd ipchain
./autogen.sh
./configure --with-incompatible-bdb
make
yum install make
yum install gcc
yum install gcc-c++
yum install zlib-devel
yum install openssl-devel
yum groupinstall "Development Tools"

Download&Install miniupnpc library
wget -O miniupnpc-1.6.20120509.tar.gz http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.20120509.tar.gz
tar -zxvf miniupnpc-1.6.20120509.tar.gz
cd miniupnpc-1.6.20120509
make install

Download&Install Boost library
wget https://jaist.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz
tar zxvf boost_1_59_0.tar.gz
cd boost_1_59_0
./bootstrap.sh
./b2
./b2 install

Add boost.conf file in the /etc/ld.so.conf.d/ directory
cd /etc/ld.so.conf.d/
vi boost.conf

Add following content in boost.conf
/usr/local/lib/

ldconfig
yum install libevent-devel
yum install protobuf-devel
yum install protobuf-compiler

git clone https://github.com/IPCChain/ipchain.git
cd ipchain
./autogen.sh
./configure --with-incompatible-bdb
make

## Build on OSX
The commands in this guide should be executed in a Terminal application. The built-in one is located in `/Applications/Utilities/Terminal.app`
Expand Down

0 comments on commit d91b496

Please sign in to comment.