Re: problems at install: zlib error

From: Date: Thu, 25 Mar 2004 20:32:22 +0000
Subject: Re: problems at install: zlib error
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-13098@lists.php.net to get a copy of this message
Klaus wrote:
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" <Mike.Beck@ibmiller.de> schrieb im Newsbeitrag news:0B241138B8B09F4792DA46CA0785A46503EDC6@ANNA.ibmiller.lan... 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 mike.beck@ibmiller.de
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

« previous php.install (#13098) next »