@@ -74,10 +74,27 @@ Next install the [build system](http://wikipedia.org/wiki/GNU_build_system):
7474``` sh
7575$ sudo apt-get install build-essential autoconf automake libtool pkg-config
7676```
77- Next install the [ Boost] ( http://www.boost.org ) (minimum 1.57.0) development package:
77+ Next install the [ Boost] ( http://www.boost.org ) (1.57.0 or newer ) development package:
7878``` sh
7979$ sudo apt-get install libboost-all-dev
8080```
81+ Next install the [ ZeroMQ] ( http://www.zeromq.org ) (4.2.0 or newer) development package.
82+ ``` sh
83+ $ sudo apt-get install libzmq5
84+ ```
85+ If no satisfying libzmq5 package exists in your chosen environment, the compilation can be performed with the following instructions:
86+ ``` sh
87+ $ mkdir build-zeromq-4.2.0
88+ $ pushd build-zeromq-4.2.0
89+ $ wget https://github.com/zeromq/libzmq/releases/download/v4.2.0/zeromq-4.2.0.tar.gz
90+ $ tar --extract --file zeromq-4.2.0.tar.gz --gz --strip-components=1
91+ $ ./autogen.sh
92+ $ ./configure
93+ $ make
94+ $ sudo make install
95+ $ sudo ldconfig
96+ $ popd
97+ ```
8198Next download the [ install script] ( https://github.com/libbitcoin/libbitcoin-server/blob/version3/install.sh ) and enable execution:
8299``` sh
83100$ wget https://raw.githubusercontent.com/libbitcoin/libbitcoin-server/version3/install.sh
@@ -124,6 +141,10 @@ Next install the [Boost](http://www.boost.org) (1.57.0 or newer) development pac
124141``` sh
125142$ brew install boost
126143```
144+ Next install the [ ZeroMQ] ( http://www.zeromq.org ) (4.2.0 or newer) development package:
145+ ``` sh
146+ $ brew install zeromq
147+ ```
127148Next download the [ install script] ( https://github.com/libbitcoin/libbitcoin-server/blob/version3/install.sh ) and enable execution:
128149``` sh
129150$ wget https://raw.githubusercontent.com/libbitcoin/libbitcoin-server/version3/install.sh
@@ -158,6 +179,18 @@ Next install the [Boost](http://www.boost.org) (1.57.0 or newer) development pac
158179``` sh
159180$ sudo port install boost -no_single -no_static -python27
160181```
182+ Next install the [ ZeroMQ] ( http://www.zeromq.org ) (4.2.0 or newer) development package. This package does not appear to be available via MacPorts, and so follows compilation instructions:
183+ ``` sh
184+ $ mkdir build-zeromq-4.2.0
185+ $ pushd build-zeromq-4.2.0
186+ $ wget https://github.com/zeromq/libzmq/releases/download/v4.2.0/zeromq-4.2.0.tar.gz
187+ $ tar --extract --file zeromq-4.2.0.tar.gz --gz --strip-components=1
188+ $ ./autogen.sh
189+ $ ./configure
190+ $ make
191+ $ sudo make install
192+ $ popd
193+ ```
161194Next download the [ install script] ( https://github.com/libbitcoin/libbitcoin-server/blob/version3/install.sh ) and enable execution:
162195``` sh
163196$ wget https://raw.githubusercontent.com/libbitcoin/libbitcoin-server/version3/install.sh
@@ -200,13 +233,17 @@ Building and linking with a private copy of the Boost dependency:
200233``` sh
201234$ ./install.sh --build-boost --prefix=/home/me/myprefix
202235```
236+ Building and linking with a private copy of the ZeroMQ dependency:
237+ ``` sh
238+ $ ./install.sh --build-zmq --prefix=/home/me/myprefix
239+ ```
203240Building a statically-linked executable:
204241``` sh
205- $ ./install.sh --disable-shared --build-boost --prefix=/home/me/myprefix
242+ $ ./install.sh --disable-shared --build-boost --build-zmq -- prefix=/home/me/myprefix
206243```
207244Building a small statically-linked executable most quickly:
208245``` sh
209- $ ./install.sh CXXFLAGS=" -Os -s" --without-tests --disable-shared --build-boost --prefix=/home/me/myprefix
246+ $ ./install.sh CXXFLAGS=" -Os -s" --without-tests --disable-shared --build-boost --build-zmq -- prefix=/home/me/myprefix
210247```
211248Building with bash-completion support:
212249
0 commit comments