If configure fails try --with-vpx-dir=<DIR>
configure: error: jpeglib.h not found.
[root@server1 php-5.6.20]# yum install -y jpeglib
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package jpeglib available.
Error: Nothing to do
解决方法:
yum search libjpeg
yum install -y libjpeg*
no png.h
解决方法:
yum search png
yum install -y libpng*
no freetype-config
解决方法:
yum search freetype
yum 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