Hi Mike,
thanks for your response.
Initially I just took: ./configure --with-apache=... --with-mysql=... --with-mcrypt=...
The trials including --with-zlib-dir=... or --with-zlib=...
also failed.
Do you or anyone else have an idea?
Greetings Klaus
"Mike Beck" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] klaus wrote:
Dear all,
I am to set up a LAMPS system (Red Hat 7.3, Apache 1.3.29, MySQL 4.0.18, PHP 4.3.4).
When trying to configure PHP with the follwing command:
./configure --with-apache=/usr/local/apache/apache_1.3.29
--with-mysql=/usr/local/mysql
--with-mcrypt=/usr/local/mcrypt_2_5_7/libmcrypt-2.5.7
... I get this:
**** configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information. ****
Did you try that? (Adding --with-zlib-dir=<DIR>)?
-- Mike Beck [EMAIL PROTECTED]
Hello,
I also had the same problem and overcame it by installing the zlib-devel package. Once I had installed the dev package I built php using the command line:
home:/usr/local/php-4.3.4 # ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql-standard-4.0.18-pc-linux-i686 -with-zlib
I am using Suse 9.0, Apache 2 and MySQL.
Hope this helps,
Andrew