热搜:NVER node 开发 php

linux php7安装

2024-07-24 22:25:01
linux php7安装

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.net/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