史上最详细安装JZMQ(jdk1.6下)

来源:互联网 发布:网络四十大禁书 编辑:程序博客网 时间:2024/05/17 20:56

1、执行

git clone https://github.com/nathanmarz/jzmq.git

报错

bash: git: command not found

提示git没有安装,执行下面的命令

yum install -y git

然后,继续执行

git clone https://github.com/nathanmarz/jzmq.git

成功,接着进入jzmq目录中

 cd jzmq/

然后执行下面命令

 ./autogen.sh 

又报错了

autogen.sh: error: could not find libtool.  libtool is required to run autogen.sh.

提示没有安装 libtool,然后执行下面命令

 yum install libtool

装好了,再执行

 ./autogen.sh  ./configure make make install 

成功安装!!!

原创粉丝点击