2014-03-30 39 views
0

不知道我是否在正确的Stack Exchange论坛上发帖。如果需要,请将我重定向到适当的一个。为什么我不能安装libzmq以使棘轮工作? (Websocket)

当设置棘轮,我需要安装ZeroMQ,我停留在libzmq安装:

我也跟着指示https://github.com/zeromq/libzmq/blob/master/INSTALL 我在Mac OS X 10.9

执行以下操作时命令:

./autogen.sh

这里是我得到:

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal -I config --force -I config

main::scan_file() called too early to check prototype at /opt/lo/bin/aclocal line 617.

autoreconf: configure.ac: tracing

autoreconf: configure.ac: subdirectory

foreign/openpgm/build-staging/openpgm/pgm/ not present

autoreconf: configure.ac: not using Libtool

autoreconf: running: /opt/lo/bin/autoconf --include=config --force configure.ac:57: 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.ac:58: error: possibly undefined macro: AC_PROG_LIBTOOL

configure:5242: error: possibly undefined macro: AC_DISABLE_STATIC

configure:5246: error: possibly undefined macro: AC_ENABLE_STATIC

autoreconf: /opt/lo/bin/autoconf failed with exit status: 1

autogen.sh: error: autoreconf exited with status 0

我不能让它工作。

请帮

非常感谢

回答

1

安装不同的包时,这发生在我身上。此修复程序是安装libtool有:

$ sudo apt-get install libtool 

然后运行:

$ ./auto_gen.sh 

然后就可以正常进行:

$ ./configure && make 
$ sudo make install