Re: 4.0.6 and gd 2
| From: | Kurth Bemis | Date: | Wed, 18 Apr 2001 14:25:19 +0000 |
| Subject: | Re: 4.0.6 and gd 2 | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-51879@lists.php.net to get a copy of this message | ||
Now i'm getting all sorts of problems.....loook
my config line
./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-gd --with-jpeg-dir=/usr/src/jpeg-6b --with-png-dir=/usr/local/lib --with-freetype-dir
yields
...
checking whether to enable FTP support... yes
checking whether to enable truetype string function in gd... no
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... yes
checking for libpng (needed by gd-2.0)... yes
checking for png_info_init in -lpng... yes
checking for libXpm (needed by gd-1.8+)... no
configure: warning: If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2) (needed by gd 2.0+)... yes
checking whether to include GD support... yes (static)
checking for compress in -lz... no
checking for png_info_init in -lpng... (cached) yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking whether to include FreeType 1.x support... no - FreeType 2.x is to be used instead
checking for T1lib support... no
......
lets attempt a make
......
Making all in gd
make[2]: Entering directory `/usr/src/php4-200104171745/ext/gd'
make[3]: Entering directory `/usr/src/php4-200104171745/ext/gd'
gcc -I. -I/usr/src/php4-200104171745/ext/gd -I/usr/src/php4-200104171745/main -I/usr/src/php4-200104171745 -I/usr/src/apache_1.3.19/src/include -I/usr/src/apache_1.3.19/src/os/unix -I/usr/src/php4-200104171745/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/mysql/include/mysql -I/usr/src/php4-200104171745/ext/xml/expat/xmltok -I/usr/src/php4-200104171745/ext/xml/expat/xmlparse -I/usr/src/php4-200104171745/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php4-200104171745/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4-200104171745/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4-200104171745/ext'
make: *** [all-recursive] Error 1
.............
any thoughts? I'm thinking that i may rebuild gd and see if that clears up the problem.
~kurth