如何解决无法在macOS Catalina上安装intl
我试图在macOS catalina上安装intl,以便能够使用cakePHP。
我安装了pecl
,并且尝试运行pecl install intl
时遇到未找到有关PHP.h
的错误,但它显示了include
文件夹,该文件夹在我的系统中根本不存在
错误:
downloading intl-3.0.0.tgz ...
Starting to download intl-3.0.0.tgz (248,200 bytes)
....................................................done: 248,200 bytes
150 source files,building
running: PHPize
grep: /usr/include/PHP/main/PHP.h: No such file or directory
grep: /usr/include/PHP/Zend/zend_modules.h: No such file or directory
grep: /usr/include/PHP/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then,rerun this script.
我找不到安装方法。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。