gpt4 book ai didi

macos - 为什么我不能安装 libzmq 以使 Ratchet 工作? (网络套接字)

转载 作者:行者123 更新时间:2023-12-04 16:13:53 26 4
gpt4 key购买 nike

不确定我是否在正确的 Stack Exchange 论坛上发帖。如果需要,请将我重定向到正确的位置。
在设置 Ratchet 时,我需要安装 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 --forceconfigure.ac:57: error:possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token andothers are legitimate, please use m4_pattern_allow. See the Autoconfdocumentation.

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


我不能让它工作。
请帮忙
非常感谢

最佳答案

我在安装不同的软件包时发生了这种情况。修复是安装 libtool和:

$ sudo apt-get install libtool

然后运行:
$ ./auto_gen.sh

然后您可以照常进行:
$ ./configure && make
$ sudo make install

关于macos - 为什么我不能安装 libzmq 以使 Ratchet 工作? (网络套接字),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22746995/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com