PHP 4.0.4 - gdImageCreateFromJpegCtx
| From: | Robert Mena | Date: | Fri, 22 Dec 2000 13:46:57 +0000 |
| Subject: | PHP 4.0.4 - gdImageCreateFromJpegCtx | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31560@lists.php.net to get a copy of this message | ||
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/