2014-03-30 120 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