zeromq安装

=================================================
fedora安装(zeromq和jzmq)
=================================================

-------------------------------------------------------------
1 安装编译工具和环境
-------------------------------------------------------------
1.1 yum install autogen

1.2 yum install libtool*

1.3 yum install make

1.4 yum install -y gcc gcc-c++

-------------------------------------------------------------
2 获取安装文件zeromq和jzmq,并解压
-------------------------------------------------------------

2.1 scp zeromq-3.2.2.tar.gz [email protected]:/workspace/.

2.2 tar -xzvf zeromq-3.2.2.tar.gz

2.3 scp jzmq-master.zip [email protected]:/workspace/.

2.4 unzip jzmq-master.zip

-------------------------------------------------------------
3 安装zeromq
-------------------------------------------------------------

3.1 cd /workspace/zeromq-3.2.2

3.2 ./autogen.sh

3.3 ./configure --prefix=/usr/zeromq --with-zeromq=/usr/zeromq

3.4 make && make install

-------------------------------------------------------------
4 安装jzmq
-------------------------------------------------------------

4.1 cd /workspace/jzmq-master

4.2 ./autogen.sh

4.3 ./configure --prefix=/usr/zeromq --with-zeromq=/usr/zeromq

4.4 make && make install

-------------------------------------------------------------
5 把生成的iso文件
放入/usr/lib/下
-------------------------------------------------------------

5.1 cd /usr/zeromq

5.2  cp libjzmq.a libjzmq.la libjzmq.so.0.0.0 libzmq.a libzmq.la libzmq.so.3.0.0 /lib64/.

5.3 cd /lib64

5.4 ln -s libjzmq.so.0.0.0 libjzmq.so

5.5 ln -s libjzmq.so.0.0.0 libjzmq.so.0

5.6 ln -s libzmq.so.3.0.0 libzmq.so

5.7 ln -s libzmq.so.3.0.0 libzmq.so.3

你可能感兴趣的:(zeromq)