Problems with GD 2.0.1
| From: | Ville Mattila | Date: | Mon, 09 Sep 2002 03:21:56 +0000 |
| Subject: | Problems with GD 2.0.1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115699@lists.php.net to get a copy of this message | ||
Hello everyone,
I should get GD 2.0.1 installed to my PHP 4.2.2 binary running as a module
in the Apache 1.3. The box is RedHat 7.3. There is a previous version of GD
(1.8.4) installed as a default and it seems that I can't even get ereased it
due to depencies. Anyway, I'd need that GD 2.0.1 due to some functions
previous versions of GD don't have at all.
I explored the PHP manual and found this little help:
http://www.php.net/~rasmus/gd.html. Wonderful, or
not! I followed those
items in the Rasmus' file step by step, but still without results. I tried
to build PHP with make clean (that was only way when the configure changes
really affected to the configure command on phpinfo() -function) and then
all steps. But no... My PHP script is still shouting "Warning:
imagecreatetruecolor(): requires GD 2.0 or later". Grr...
My current PHP build is configured with following string:
'./configure' '--with-mysql' '--with-apxs=/etc/httpd/bin/apxs'
'--with-curl'
'--with-gd=/usr/local/gd-2.0.1' '--with-xml' '--enable-ftp'
'--enable-sockets' '--with-freetype-dir=/usr' '--enable-gd-native-ttf'
'--enable-gd-imgstrttf' '--with-zlib' '--with-jpeg-dir=/usr'
'--with-png-dir=/usr'
Well. Any ideas?
Ville