ZeroMQ home page: http://www.zeromq.org/
czmq(High-level C binding for ZeroMQ): https://github.com/zeromq/czmq
first, upgrade m4 and autoconf if needed. (./configure, make, make install)
wget http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.bz2
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
second, download zeromq, compile it and install to personnel directory.
cd $HOME/download
wget http://download.zeromq.org/zeromq-2.1.11.tar.gz
tar zxvf zeromq-2.1.11.tar.gz
cd zeromq-2.1.11
./configure --prefix=$HOME
make
make install
third, git czmq, compile it and install to personnel directory.
cd $HOME/download
git clone git://github.com/zeromq/czmq.git
cd czmq
sh autogen.sh
./configure --prefix=$HOME --with-libzmq=$HOME
make
make install
forth, git zguide examples and compile them. If zmq and czmq are installed to your personnel
directory, modify build file to indicate the include path and the lib path.
cd $HOME/download
git config --global http.sslVerify false
git clone https://github.com/imatix/zguide.git
or
git clone git://github.com/imatix/zguide.git
cd zguide/examples/C
<modify build file>
./build all
zguide study, to be continue. http://zguide.zeromq.org/page:all
本文档详细介绍了如何安装和配置ZeroMQ及czmq库。首先升级m4和autoconf,然后下载并编译ZeroMQ到个人目录。接着通过git获取czmq源码并进行编译安装。最后克隆zguide示例项目并调整构建文件,以便于编译示例程序。
874

被折叠的 条评论
为什么被折叠?



