czmq(zmq)安装

来源:互联网 发布:直销会员管理系统源码 编辑:程序博客网 时间:2024/05/22 04:47

最近项目需要用到zmq,于是下载了czmq,在安装的时候出现了如下错误

% ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --include=config --force
configure.in:52: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:53: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1


网上google说是没有安装libtool,于是下载libtool安装,错误依然。最后发现autoconf和libtool安装路径不一致所致。

whereis autoconf发现在/usr/bin

于是卸载libtool重新安装

./configure --prefix=/usr

mak && make install

错误不在提示。但是出现了其他错误,继续解决。

(记录方便遇到相同问题的同学,也方便自己以后查询)

0 0
原创粉丝点击