php-7.3.13 configure: error: Please reinstall the libzip distribution
生活随笔
收集整理的這篇文章主要介紹了
php-7.3.13 configure: error: Please reinstall the libzip distribution
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
wget https://libzip.org/download/libzip-1.5.2.tar.gztar -zxf libzip-1.5.2.tar.gzcd libzip-1.5.2mkdir buildcd build cmake ..make -j4make install
一般出現這個-bash: make: command not found提示,是因為安裝系統的時候使用的是最小化mini安裝,系統沒有安裝make、vim等常用命令,直接yum安裝下即可。
yum -y install gcc automake autoconf libtool make
如果發現?cmake沒有安裝,可以下面方法進行安裝
1、安裝gcc等必備程序包(已安裝則略過此步)
yum install -y gcc gcc-c++ make automake?
2、安裝wget (已安裝則略過此步)
yum install -y wget
3、獲取CMake源碼包
wget https://cmake.org/files/v3.12/cmake-3.12.0-rc1.tar.gz
4、解壓CMake源碼包
tar -zxvf cmake-3.12.0-rc1.tar.gz
5、進入cmark的源碼目錄
cd cmake-3.12.0-rc1
6、運行當前目錄下的一個文件
./bootstrap
7、運行命令(這步時間有點長)
gmake
8、進行安裝
gmake install
9、安裝完成,可閱讀install_manifest.txt查看具體都安裝了什么,還可以通過cmake?--version 查看cmake版本號,如果輸出版本號,則安裝成功。
?
總結
以上是生活随笔為你收集整理的php-7.3.13 configure: error: Please reinstall the libzip distribution的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux虚拟机和Window本地共享文
- 下一篇: php7安装执行configure报错e