【问题标题】:Undefined subroutine &main::open_quote called at /usr/local/bin/autom4te line 262在 /usr/local/bin/autom4te 第 262 行调用的未定义子例程 &main::open_quote
【发布时间】:2021-11-18 19:17:19
【问题描述】:

您好,我尝试在 macox (Big Sur 11.5.2) 上通过 pecl 安装 xdebug 但我收到错误消息

xdebug volodymyr$ pecl install xdebug
downloading xdebug-3.0.4.tgz ...
Starting to download xdebug-3.0.4.tgz (215,870 bytes)
.............................................done: 215,870 bytes
87 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Undefined subroutine &main::open_quote called at /usr/local/bin/autom4te line 262.
ERROR: `phpize' failed

我更新了 perl,但它确实帮助了我(如果 open_quote 是 perl 的一部分,我无法理解) 我也没有在互联网上找到任何与 open_quote 函数问题相关的信息

我尝试从源代码安装 xdebug 并在 ./phpize 步骤中遇到相同的错误

解决: 只需重新安装 autoconf automake libtool 我跑 brew reinstall autoconf automake libtool 之后我运行brew link --force autoconf,它解决了问题

【问题讨论】:

    标签: xdebug macos-big-sur pecl xdebug-3 phpize


    【解决方案1】:

    这里的错误来自 autom4te,而不是 pecl./phpize。您需要更新automakeautoconf,和/或相关包。

    【讨论】:

    • 完美,我重新安装了automake autoconf libtool 运行brew link --overwrite autoconf 并且xdebug安装好了
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-22
    • 1970-01-01
    • 2014-08-05
    • 1970-01-01
    • 2023-03-05
    • 2021-03-25
    相关资源
    最近更新 更多