【问题标题】:Why can't I install libzmq in order to have ratchet working ? (Websocket)为什么我不能安装 libzmq 以使棘轮工作? (网络套接字)
【发布时间】:2014-03-30 17:06:35
【问题描述】:

不确定我是否在正确的 Stack Exchange 论坛上发帖。如果需要,请将我重定向到正确的。

设置Ratchet时,需要安装ZeroMQ,卡在libzmq安装:

我已按照说明https://github.com/zeromq/libzmq/blob/master/INSTALL 我在 mac os X 10.9 上

执行以下命令时:

./autogen.sh

这是我得到的:

autoreconf: 进入目录`.'

autoreconf: configure.ac: 不使用 Gettext

autoreconf:运行:aclocal -I config --force -I config

main::scan_file() 调用太早,无法在 /opt/lo/bin/aclocal 第 617 行检查原型。

autoreconf:configure.ac:跟踪

autoreconf: configure.ac: 子目录

foreign/openpgm/build-staging/openpgm/pgm/ 不存在

autoreconf:configure.ac:不使用 Libtool

autoreconf:运行:/opt/lo/bin/autoconf --include=config --force 配置.ac:57:错误: 可能未定义的宏:AC_LIBTOOL_WIN32_DLL 如果此令牌和 其他是合法的,请使用 m4_pattern_allow。查看 Autoconf 文档。

configure.ac:58:错误:可能未定义宏:AC_PROG_LIBTOOL

配置:5242:错误:可能未定义宏:AC_DISABLE_STATIC

配置:5246:错误:可能未定义宏:AC_ENABLE_STATIC

autoreconf:/opt/lo/bin/autoconf 失败,退出状态:1

autogen.sh:错误:autoreconf 以状态 0 退出

我不能让它工作。

请帮忙

非常感谢

【问题讨论】:

    标签: macos websocket ratchet


    【解决方案1】:

    这发生在我安装不同的软件包时。解决方法是安装libtool

    $ sudo apt-get install libtool
    

    然后运行:

    $ ./auto_gen.sh
    

    那么你就可以正常进行了:

    $ ./configure && make
    $ sudo make install
    

    【讨论】:

      猜你喜欢
      • 2015-12-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-01
      • 1970-01-01
      • 2021-01-07
      • 2017-12-11
      相关资源
      最近更新 更多