源码安装php过程中出现的错误

来源:互联网 发布:首都 知乎 编辑:程序博客网 时间:2024/05/19 11:45
If configure fails try --with-vpx-dir=<DIR>configure: error: jpeglib.h not found.[root@server1 php-5.6.20]# yum install -y jpeglibLoaded plugins: product-id, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessNo package jpeglib available.Error: Nothing to do

解决方法:

yum search libjpegyum install -y libjpeg*

no png.h

解决方法:

 yum search png yum install -y libpng*

no freetype-config
解决方法:

yum search freetypeyum install -y freetype*

reinstall libmcrypt
解决方法:

 rpm -ivh libmcrypt-2.5.8-9.el6.x86_64.rpm libmcrypt-devel-2.5.8-9.el6.x86_64.rpm
阅读全文
0 0
原创粉丝点击