RE: [PHP-INST] RE: config failure on RH6.2
| From: | Jon Wagoner | Date: | Fri, 09 Nov 2001 21:31:21 +0000 |
| Subject: | RE: [PHP-INST] RE: config failure on RH6.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4893@lists.php.net to get a copy of this message | ||
Do you have 2 copies of gd? One under /usr/local and one just under /usr?
-----Original Message-----
From: Justin DeVuyst [mailto:justin@g3d.com]
Sent: Friday, November 09, 2001 3:23 PM
To: php-install@lists.php.net
Subject: [PHP-INST] RE: config failure on RH6.2
If I try to run configure with just --with-gd the configure ends fine but
the make does the following...
Making all in gd
make[2]: Entering directory `/root/packages/php-4.0.6/ext/gd'
make[3]: Entering directory `/root/packages/php-4.0.6/ext/gd'
/bin/sh /root/packages/php-4.0.6/libtool --silent --mode=compile
gcc -I. -I/root/packages/php-4.0.6/ext/gd -I/root/packages/php-4.0.6/main -
I/root/packages/php-4.0.6 -I/usr/local/apache/include -I/root/packages/php-4
.0.6/Zend -I/usr/local/ssl/include -I/usr/include/imap -I/root/packages/php-
4.0.6/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/root/packages/php-4.0.6/
ext/xml/expat/xmltok -I/root/packages/php-4.0.6/ext/xml/expat/xmlparse -I/ro
ot/packages/php-4.0.6/TSRM -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_U
TF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/php-4.0.6/ext'
make: *** [all-recursive] Error 1
Justin DeVuyst
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net