Re: how to compile PHP with GD support?
- From: Mike Willbanks <pencap@xxxxxxxxx>
- Date: Tue, 31 May 2005 13:02:45 -0500
Encapsulin,
checking for the location of libpng... /usr/local/src/libpng-1.2.8/ If configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found.
why libpng.(a|so) not found ?
# ls -l /usr/local/src/libpng-1.2.8/libpng.a -rw-r--r-- 1 root wheel 160448 May 31 12:48 /usr/local/src/libpng-1.2.8/libpng.a
What is my mistake? Where to read about correct way for installing php + gd + libjpeg + libpng ?
You may wish to check the PHP manual: http://us3.php.net/manual/en/ref.image.php
If it doesn't find libpng, libjpeg or libxpm it can fail. You may wish to specify the directory... --with-jpeg-dir=DIR --with-png-dir=DIR --with-xpm-dir=DIR
Also note that libpng requires the zlib library :) so you may need to add --with-zlib-dir=DIR
Hope that helps.
Mike .
- References:
- how to compile PHP with GD support?
- From: Encapsulin
- how to compile PHP with GD support?
- Prev by Date: Re: mail() different php4 <-> php5
- Next by Date: Re: phpldapadmin faile to create courier email account
- Previous by thread: how to compile PHP with GD support?
- Next by thread: How do I return 3 results and print </tr>
- Index(es):
Relevant Pages
|