The operating system you are using would be nice to know- and wether its
for apache, cgi-bin, or whatever.
Most unixes (and it looks like you got a unix) have zlib in /usr not
Quite a few already have gd and libpng in /usr as well.
That's why it would be nice to know what your build environment is.
Anyway, I'm pretty sure that you need to make sure gd is compiled against
On my system, for example, my gd library is compiled with png, jpeg, and
Secondly- if your system is darwin, you need to fix a few things.
First, run ranlib on /usr/local/lib/libpng.a
Then you can build gd against it.
Then, though, you need to do the same to libgd
note that the above is only needed on Darwin.
That is properly done on most other unixes for you (in fact, most unixes
compile those as shared libraries)
If you are compiling for an apache module, try this-
tar -zxf php-4.0.6.tar.gz
./configure --with-apxs=/usr/sbin/apxs --with-zlib=/usr
On Thu, 22 Nov 2001 16:55:37 -0500
Yamin Prabudy <[EMAIL PROTECTED]> mentioned:
> Hi there
> I try to setup GD and PNG and Zlib to work with my PHP 4.06
> but still no sucess
> can anyone point me out how to do that, or a website that contain step
> step instruction
> in the configure line i used this options --with-gd=/usr/local
> --with-png-dir=/usr/local/png --with-zlib=/usr/local
> installing those three items i just used make and make install so
> must go to /usr/local
> thanks for the help
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Michael A. Peters
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]