Re: Installing w/ GD support
| From: | James Hughbanks | Date: | Tue, 16 Sep 2003 04:55:37 +0000 |
| Subject: | Re: Installing w/ GD support | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11878@lists.php.net to get a copy of this message | ||
BJ,
try --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib
I have mandrake too, seems like it has problems finding the libs. Also do a rpm -qa|grep zlib and rpm-qa|grep jpeg and make sure that you have both the package and the package-devel rpm's installed, like zlib1-devel-version, as these are needed.
--James
On Monday, Sep 15, 2003, at 19:51 America/New_York, BJ Morden wrote:
Hey everyone, I am trying to get GD working w/ php 4.3.3 and mandrake 9.1. I am using ./configure --with-apxs=/apache2/bin/apxs --with-gd --enable-gd-native-ttf I keep getting the error: If configure fails try --with-jpeg-dir=<DIR> configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR> Can anyone please give me some info on how to compile PHP with this support. Thanks in advance. BJ --James HughbanksMikro-Data Engineering Dept. support@mikro-data.net 1-866-457-6287 http://www.mikro-data.net