首页  >  文章  >  后端开发  >  linux php7安装

linux php7安装

WBOY
WBOY原创
2016-06-23 13:16:44868浏览

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



声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn