环境
- CentOS Linux release 7.3.1611 (Core) 搬瓦工
- php:php-7.4.3
错误
安装php进行编译时报错:
configure: error: Package requirements (oniguruma) were not met:
No package 'oniguruma' found
解决办法
使用下列两种方式进行安装。
1.yum安装rpm包
yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/o/oniguruma-5.9.5-3.el7.x86_64.rpm
yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/o/oniguruma-devel-5.9.5-3.el7.x86_64.rpm
2.从git编译安装
git clone https://github.com/kkos/oniguruma.git
cd oniguruma
./configure
make
make install
参考:
- https://amon.org/oniguruma
最新评论
没有央视频道,这怎么玩?
1.6.8很多频道,但80%都是失效的
启动微信不了,第一步就不行
azgkf或777