PHP 4.3.0 - inbuilt GD and MySQL (extra information)
| From: | Jason Donald | Date: | Tue, 11 Feb 2003 23:52:56 +0000 |
| Subject: | PHP 4.3.0 - inbuilt GD and MySQL (extra information) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10016@lists.php.net to get a copy of this message | ||
Errata for that last email.
* Both machines are redhat based linux 2.4.18, but are completely
different installations (one local, one remotely hosted server).
Here is a larger chunk from the GD problem. I noticed the "no
semicolon at end of struct or union" line after sending the original
message to the list, and thought it might have been important.
gcc -I/usr/local/src/php-4.3.0/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
-Iext/gd/ -I/usr/local/src/php-4.3.0/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.0/include
-I/usr/local/src/php-4.3.0/main -I/usr/local/src/php-4.3.0 -I/usr/local/src/php-4.3.0/Zend
-I/usr/local/includ
In file included from /usr/local/src/php-4.3.0/ext/gd/libgd/gdft.c:50:
/usr/local/include/freetype2/freetype/ftglyph.h:104: parse error before `FT_Library'
/usr/local/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end of struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:106: parse error before `format'
/usr/local/include/freetype2/freetype/ftglyph.h:106: warning: data definition has no type or storage
class
/usr/local/include/freetype2/freetype/ftglyph.h:107: parse error before `advance'
/usr/local/include/freetype2/freetype/ftglyph.h:107: warning: data definition has no type or storage
class
/usr/local/include/freetype2/freetype/ftglyph.h:109: warning: data definition has no type or storage
class
/usr/local/include/freetype2/freetype/ftglyph.h:156: parse error before `FT_GlyphRec'
/usr/local/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon at end of struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:157: warning: data definition has no type or storage
class
/usr/local/include/freetype2/freetype/ftglyph.h:158: parse error before `top'
/usr/local/include/freetype2/freetype/ftglyph.h:158: warning: data definition has no type or storage
class
/usr/local/include/freetype2/freetype/ftglyph.h:159: parse error before `bitmap'
Any ideas please let me know...
Jason.