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 had the same problem until I loaded the zlib-devel package. I then used the following command line to build php and it worked fine:
# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql-standard-4.0.18-pc-linux-i686 -with-zlib
then make; make install and it was fine.
I am using Suse Linux 9.0, Apache 2 and Mysql 4.
Good Luck!.
Andrew