linux php7安装
configure: error: Could not find libpcre.(a|so) in /usrFix: 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=<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
页:
[1]