Kompilierungsfehler von PHP unter Plesk

Kompilierungsfehler von PHP unter Plesk

configure:error: Cannot Find OpenSSL’s libraries

Der Pfad ist nicht immer gleich, unter 64bit-Systemen wäre er /lib/x86_64-linux-gnu
--with-libdir=/lib/x86_64-linux-gnu

configure:error: could not Find PCRE.H IN /USR

sudo apt-get install libpcre3-dev

configure:error: Please Reinstall The BZIP2 Distribution

sudo apt-get install libbz2-dev

configure:error: Please Reinstall The LIBCURL Distribution – EASY.H SHOULD BE IN /INCLUDE/CURL/

sudo apt-get install libcurl4-openssl-dev

configure:error: LIBJPEG.(A|SO) not found.

sudo apt-get install libjpeg-dev

configure:error: LIBPNG.(A|SO) not found.

sudo apt-get install libpng12-dev

configure:error: LIBXPM.(A|SO) not found.

sudo apt-get install libxpm-dev

configure:error: FREETYPE.H not found.

sudo apt-get install libfreetype6-dev

configure:error: Cannot Find LIBPQ-FE.H. Please SPECIFY CORRECT POSTGRESQL INSTALLATION PATH

sudo apt-get install postgresql-server-dev-9.1

configure:error: YOUR T1LIB Distribution IS not INSTALLED CORRECTLY. Please Reinstall IT.

sudo apt-get install libt1-dev

configure:error: Unable TO Find GD.H ANYWHERE UNDER /USR

sudo apt-get install libgd2-xpm-dev

configure:error: Unable TO LOCATE GMP.H

sudo apt-get install libgmp-dev

configure:error: Cannot Find MYSQL HEADER FILES UNDER /USR.

sudo apt-get install libmysqlclient-dev

configure:error: SASL.H not found!

sudo apt-get install libsasl2-dev

configure:error: Please Reinstall LIBMHASH – I Cannot Find MHASH.H

sudo apt-get install libmhash-dev
CheckING FOR UNIXODBC SUPPORT... <blockquote>configure:error: ODBC HEADER FILE '/USR/INCLUDE/SQLEXT.H' not found!</blockquote>
sudo apt-get install unixodbc-dev

configure:error: DIRECTORY /USR IS not A FREETDS INSTALLATION DIRECTORY

sudo apt-get install freetds-dev

configure:error: Cannot Find PSPELL

sudo apt-get install libpspell-dev

configure:error: SNMP SANITY Check FAILED. Please Check CONFIG.LOG FOR MORE INFORMATION.

sudo apt-get install libsnmp-dev

configure:error: Cannot Find LIBTIDY

sudo apt-get install libtidy-dev

configure:error: XSLT-CONFIG not found. Please Reinstall The LIBXSLT >= 1.1.0 Distribution

sudo apt-get install libxslt1-dev

configure:error: MCRYPT.H not found. Please Reinstall LIBMCRYPT.

sudo apt-get install libmcrypt-dev

configure:error: Cannot Find OPENSSL'S LIBRARIES

Add following switch to your ./configure options (optionally updating The path to reflect your system):
--with-libdir=/lib/x86_64-linux-gnu

configure:error: YOU'VE CONFIGURED EXTENSION PDO_SQLITE TO BUILD STATICALLY, BUT IT DEPENDS ON EXTENSION PDO, WHICH YOU'VE CONFIGURED TO BUILD SHARED. YOU EITheR NEED TO BUILD PDO_SQLITE SHARED OR BUILD PDO STATICALLY FOR The BUILD TO BE SUCCESSFUL.

Add following switches to your ./configure options:
--with-pdo-sqlite=shared
--with-sqlite=shared

install openssl openssl-devel pam-devel

configure:error: Cannot Find imap library (libc-client.a). Please Check your c-client installation.

--with-imap=/usr/local/imap-2007 --with-imap-ssl

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

sudo apt-get install libmcrypt-devel.x86_64

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

sudo apt-get install pcre-devel

configure: error: Please reinstall the BZip2 distribution

sudo apt-get install bzip2-devel

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

sudo apt-get install t1lib-devel.x86_64

configure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/

sudo apt-get install curl-devel

configure: error: DBA: Could not find necessary header file(s).

yum install db4-devel

configure: error: jpeglib.h not found.
configure: error: png.h not found.

sudo apt-get install libpng-devel

configure: error: libXpm.(a|so) not found.

sudo apt-get install libXpm-devel

configure: error: Unable to locate gmp.h

sudo apt-get install gmp-devel

configure: error: Cannot find ldap.h

sudo apt-get install openldap-devel

checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!

sudo apt-get install unixODBC-devel

configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

sudo apt-get install postgresql-devel

configure: error: Please reinstall the sqlite3 distribution

sudo apt-get install sqlite-devel

configure: error: Cannot find pspell

sudo apt-get install aspell-devel

configure: error: SNMP sanity check failed. Please check config.log for more information.

sudo apt-get install net-snmp-devel

configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

sudo apt-get install libxslt-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

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

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