X

Compilazione PHP errori comuni e risoluzione – Parte 2

 

PARTE 1


checking whether to enable XMLWriter support… yes, shared
checking for xml2-config path… (cached) /usr/bin/xml2-config
checking whether libxml build works… (cached) yes
checking for XSL support… yes, shared
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

Soluzione:
yum install libxslt-devel


configure: error: xml2-config not found. Please check your libxml2 installation.

Soluzione:
yum install libxml2-devel


checking for PCRE headers location… configure: error: Could not find pcre.h in /usr

Soluzione:
yum install pcre-devel


libtool: link: cannot find the library `/usr/lib/libidn.la’ or unhandled argument `/usr/lib/libidn.la’

make: *** [sapi/cgi/php-cgi] Error 1

Soluzione:
cd /usr/src/
wget http://ftp.gnu.org/gnu/libidn/libidn-1.26.tar.gz
tar -zvxf libidn-1.26.tar.gz
cd libidn-1.26
./configure
make
make install
ln -s /usr/local/lib/libidn.la /usr/lib/libidn.la


libtool: link: `/usr/lib/libxml2.la’ is not a valid libtool archive

make: *** [ext/xsl/xsl.la] Error 1

Soluzione:
cd /usr/src/
wget ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz
tar -zvxf libxml2-2.7.3.tar.gz
cd libxml2-2.7.3
./configure –prefix=/usr
make
make install


configure: error: Your t1lib distribution is not installed correctly. Please reinstall it.

Soluzione:
yum install t1lib-devel.x86_64


configure: error: mcrypt.h not found. Please reinstall libmcrypt.

Soluzione:
yum install libmcrypt-devel.x86_64


configure: error: Cannot find libtidy

Soluzione:
yum install libtidy libtidy-devel


 

Alla Prossima.

 

Compilazione PHP errori comuni e risoluzione – Parte 2 ultima modifica: 2015-06-16T16:24:28+02:00 da Andrea (Xlogic.org)

This post was last modified on 9 Febbraio 2018 16:26

Andrea (Xlogic.org):
Post Relativi

Questo sito utilizza i cookies.