php configure時のエラー対策
configure: error: no acceptable cc found in $PATH
checking for libevent >= 1.4.11 install prefix... no
configure: error: libevent >= 1.4.11 could not be found
→yum install libevent*
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
→yum install libxml2*
configure: error: Cannot find OpenSSL's
→yum install openssl-devel
configure: error: Please reinstall the BZip2 distribution
→yum install bzip*
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in
→yum install curl
yum install curl-devel
configure: error: libjpeg.(a|so) not found.
→
wget http://www.ijg.org/files/jpegsrc.v7.tar.gz
tar xzf jpegsrc.v7.tar.gz
cd jpeg-7
./configure --prefix=/usr/local --enable-shared --enable-static
make
make install
yum install libjpeg-devel
configure: error: libpng.(a|so) not found.
→
wget http://jaist.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.39.tar.gz
tar xvf libpng-1.2.39.tar.gz
cd libpng-1.2.39
./configure --prefix=/usr/local --enable-shared
make
make install
yum install libpng-devel
configure: error: libXpm.(a|so) not found.
→configure オプションに --with-libdir=lib64を追加
yum install libXpm-devel
configure: error: freetype.h not found.
→
yum install freetype
yum install freetype-devel
configure: error: Your t1lib distribution is not installed correctly. Please reinstall it.
→yum install t1lib*
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
→
wget http://elders.princeton.edu/data/puias/unsupported/6/x86_64/libmcrypt-2.5.8-9.puias6.x86_64.rpm
wget http://elders.princeton.edu/data/puias/unsupported/6/x86_64/libmcrypt-devel-2.5.8-9.puias6.x86_64.rpm
rpm -ivh libmcrypt-2.5.8-9.puias6.x86_64.rpm
rpm -ivh libmcrypt-devel-2.5.8-9.puias6.x86_64.rpm
参考サイト:http://blog.yume-dia.jp/archives/262
checking for specified location of the MySQL UNIX socket... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
→yum install libxslt-devel