2022年1月

No package 'oniguruma' found

CentOS可以直接通过yum安装oniguruma

如果是Docker或者apt找不到包的话的话需要到Github的 kkos/oniguruma 仓库,点击Releases
下载最新的版本,比如我现在看到最新的版本是6.9.7.1,那就下载 onig-6.9.7.1.tar.gz
老三样:

1.tar -zxvf 解压
2.进入目录运行configure
3.make && make install

No package 'libzip' found

详细报错

#12 1370.5 checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
#12 1370.5 configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:
#12 1370.5
#12 1370.5 No package 'libzip' found
#12 1370.5 No package 'libzip' found
#12 1370.5 No package 'libzip' found

跟上面的一样,Github仓库 : nih-at/libzip
Releases 下载最新版本安装。

error: /usr/src/php/ext/wddx does not exist

PHP7.4已经弃用wddx

configure: error: unrecognized options: --with-freetype-dir, --with-jpeg-dir

PHP7.4更改了扩展开启和配置的命令名,更多更改参考 官方文档