Re: Bug #11638 Updated: Compile --with-gd causes error
| From: | Bill Negrelli | Date: | Sun, 24 Jun 2001 15:53:51 +0000 |
| Subject: | Re: Bug #11638 Updated: Compile --with-gd causes error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-57836@lists.php.net to get a copy of this message | ||
Attached is my debug.log, can you offer any insight to the errors?>
thanks.
-=Bill
On 24 Jun 2001, Bug Database wrote:
> ID: 11638
> Updated by: sniper
> Reported By: billyz@billyz.com
> Old-Status: Open
> Status: Bogus
> Bug Type: *Install and Config
> Operating system:
> PHP Version: 4.0.6
> Assigned To:
> Comments:
>
> I can not reproduce this with GD versions: 1.5 / 1.8.3 / 1.8.4 / 2.0.1. Also, using /usr/lib as
> path to any
> configure option is not correct. You must ALWAYS use
> the install prefix, in this case /usr for --with-jpeg-dir
>
> I think you have some conflict with older GD and newer one
> in your system. Try installing the GD into some other
> prefix than /usr, e.g. /opt/gd
>
> Not bug in PHP.
>
> --Jani
>
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2001-06-24 09:09:51] billyz@billyz.com
> My configure command is:
>
>
> ./configure --with-gd=/usr --with-jpeg-dir=/usr/lib --enable-track-vars
> --with-apache=../apache_1.3.20/ --with-mysql
>
> make[1]: Entering directory `/usr/src/php-4.0.6/ext'
> Making all in gd
> make[2]: Entering directory `/usr/src/php-4.0.6/ext/gd'
> make[3]: Entering directory `/usr/src/php-4.0.6/ext/gd'
> gcc -I. -I/usr/src/php-4.0.6/ext/gd -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6
> -I/usr/src/apache_1.3.20/src/include -I/usr/src/apache_1.3.20/src/os/unix -I/usr/src/php-4.0.6/Zend
> -I/usr/src/php-4.0.6/ext/mysql/libmysql -I/usr/src/php-4.0.6/ext/xml/expat/xmltok
> -I/usr/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/src/php-4.0.6/TSRM -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
> gd.c:95: conflicting types for `gdIOCtx'
> /usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/usr/src/php-4.0.6/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/php-4.0.6/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/php-4.0.6/ext'
> make: *** [all-recursive] Error 1
>
> This is reproducable using GD Libs v1.8.x and 2.0.x
>
> PHP 4.0.6 and PHP 4.0.6
>
> Thanks.
>
> ---------------------------------------------------------------------------
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
> http://bugs.php.net/?id=11638&edit=2
>
--
----
BillyZ.com