Ошибки компилирования в РНР
Configure: error: xml2-config not found. Please check your libxml2 installation.
Решение :
yum install libxml2 libxml2-devel
Checking for pkg-config… /usr/bin/pkg-config
configure: error: Cannot find OpenSSL’s <evp.h>
Решение :
yum install openssl openssl-devel
Configure: error: Please reinstall the BZip2 distribution
Решение :
yum install bzip2 bzip2-devel
Configure: error: Please reinstall the libcurl distribution –
easy.h should be in <curl-dir>/include/curl/
Решение :
yum install curl curl-devel
Configure: error: libjpeg.(also) not found.
Решение :
yum install libjpeg libjpeg-devel
Configure: error: libpng.(also) not found.
Решение :
yum install libpng libpng-devel
Configure: error: freetype.h not found.
Решение :
yum install freetype-devel
Configure: error: Unable to locate gmp.h
Решение :
yum install gmp-devel
Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
Решение :
yum install mysql-devel
Configure: error: Please reinstall the ncurses distribution
Решение :
yum install ncurses ncurses-devel
Checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
Решение :
yum install unixODBC-devel
Configure: error: Cannot find pspell
Решение :
yum install pspell-devel
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
Решение :
yum install libmcrypt libmcrypt-devel
Configure: error: snmp.h not found. Check your SNMP installation.
Решение :
yum install net-snmp net-snmp-devel
Error: libmhash
Решение:
yum install libmhash
yum install mhash-devel
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
Решение:
yum install mysql-devel
configure: error: Please reinstall ming distribution. libming.(a|so) not found
Решение:
– temp remove the config for ‘–with-ming=/opt/ming/’
configure: error: Cannot find pspell
Решение:
yum install pspell-devel
configure: error: cannot find mm library
Решение:
wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
Extract it: tar -zxvf mm-1.4.2.tar.gz
./configure
make
make install
configure: error: Cannot find libtidy
Решение:
yum install libtidy-devel
yum install libtidy
change path at configure: ‘–with-tidy=/usr’
configure: error: not found. Please reinstall the expat distribution.
Решение:
yum install expat-devel
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Решение:
yum install libxslt-devel
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Решение:
yum install libc-client-devel
configure: error: Kerberos libraries not found.
Решение:
yum install krb5-devel
Теги: configure, error, php