Re: PHP 4.0.4 - gdImageCreateFromJpegCtx
| From: | Anuradha Ratnaweera | Date: | Sat, 23 Dec 2000 04:16:56 +0000 |
| Subject: | Re: PHP 4.0.4 - gdImageCreateFromJpegCtx | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31650@lists.php.net to get a copy of this message | ||
GD versions 1.6 or later doesn't support gif, but supports png. On
versions before 1.6, gif support is available but not png. So, if you need
gif support, you have to use something like gd 1.3, which comes with
redhat. On debian, two seperate gd versions are available with and without
gif support. So, uninstall gd 1.8.x first and then install gd and gd-devel
(both 1.3.x) and try again.
Anuradha
On Fri, 22 Dec 2000, Robert Mena wrote:
> Hi, I've decided to upgrade my libphp4 to 4.0.4. I've
> downloaded the tar.gz and used the same ./configure
> settings used before with previous versions.
>
> Even tough it does not complain about anything during
> the configure time while compliling I get
>
> /bin/sh /root/php-4.0.4/libtool --silent
> --mode=compile gcc -I. -I/root/php-4.0.4/ext/gd
> -I/root/php-4.0.4/main -I/root/php-4.0.4
> -I/usr/include/apache -I/root/php-4.0.4/Zend
> -I/usr/include/freetype -I/usr/include/imap
> -I/usr/local/include
> -I/root/php-4.0.4/ext/mysql/libmysql
> -I/root/php-4.0.4/ext/xml/expat/xmltok
> -I/root/php-4.0.4/ext/xml/expat/xmlparse
> -I/root/php-4.0.4/TSRM -DLINUX=2 -DEAPI -DUSE_EXPAT
> -DXML_BYTE_ORDER=12 -g -O2 -c gd.c
> gd.c: In function `php_if_imagecreatefromgif':
> gd.c:703: `gdImageCreateFromGif' undeclared (first use
> in this function)
> gd.c:703: (Each undeclared identifier is reported only
> once
> gd.c:703: for each function it appears in.)
> gd.c: In function `php_if_imagegif':
>
>
> I am using a RH 6.2 system with gd(devel)-1.3.6.
>
> In order to make it work (I've successfully compiled
> it under a RH 7.0) I've donwload, built and installed
> a gd-1.8.4.src.rpm.
>
> The compilation part of php4.0.4 was ok but when I
> tryed to restart httpd
>
> Starting httpd: Syntax error on line 888 of
> /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /etc/httpd/modules/libphp4.so: undefined symbol:
> gdImageCreateFromJpegCtx
>
> I was forced to reinstall gd-1.3.6 (to make my httpd
> server work again).
>
> So how do I compile php 4.0.4 with this version of gd
> (1.3.6) ?
>
> thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>