Problems compiling PHP 4.3.0 --with-gd (Linux)
| From: | Andreas Korthaus | Date: | Thu, 23 Jan 2003 13:41:19 +0000 |
| Subject: | Problems compiling PHP 4.3.0 --with-gd (Linux) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9814@lists.php.net to get a copy of this message | ||
Hi!
I know there is a discussion about the same topic, but I have different Problems with it.
I also asked something like this before, but I don't have access to my old mails here, sorry.
I try to compile PHP 4.3.0 on Linux(RedHat 8.0) --with-gd, but this doesn't work.
Without gd(and jpeg and png) everything works fine and PHP works quite right - but without gd.
My configure:
./configure --prefix=/usr/local/php-4.3.0 --with-gd --with-jpeg-dir=/usr/lib/
--with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-apxs2=/usr/local/apache-2.0.44/bin/apxs
This works fine now. But I had to rename libpng and libjpeg from RedHats original ones, or PHP
couldn't find the libs:
cp libpng.so.3.1.2.2 libpng.so
cp libjpeg.so.62 ibjpeg.so
Now configure worked perfectly.
Next I tried "make", but I got a lot of errors, all something with png-support. Could it
have something to do with the new Version of gcc 3.2(standard on Redhat 8)? It looks like if PHP
would think of using gcc2, but by using gcc PHP uses gcc3.
I've put the output of make onto another webserver(nothing to do with my problem): http://knet-systems.de/temp/php_make.txt ,
perhaps it helps to understand what's going wrong here.
Thank you!
kind regards
Andreas
______________________________________________________________________________
Mit der Multi-SMS von WEB.DE FreeMail koennen Sie 760 Zeichen versenden.
Informationen unter http://freemail.web.de/features/?mc=021184