当前位置:Gxlcms > PHP教程 > linuxphp7安装

linuxphp7安装

时间:2021-07-01 10:21:17 帮助过:15人阅读

configure: error: Could not find libpcre.(a|so) in /usr
Fix: cp /usr/lib/libpcre.a /usr/libpcre.a 可以先使用 find / -name libpcre.a找到这个文件
Refer: http://bugs.php.com/bug.php?id=1647


报错

If configure fails try �with-xpm-dir=

;
configure: error: freetype.h not found.

解决方法

wget http: //download .savannah.gnu.org /releases/freetype/freetype-2 .4.10. tar .gz

tar zxvf freetype-2.4.10. tar .gz

cd freetype-2.4.10/

. /configure

sudo make && make install

人气教程排行