|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-24 11:59 UTC] mkunze at ambora dot de
gd support (static) fails to compile. gd version installed is 2.0.1b, installed in /usr/lib and /usr/include. Did compile on CVS checked out three weeks ago. This seems to be the same error as in bug #15303. I tested CVS snap and CVS checkout, both do fail. Error messages: In file included from gd.c:36: php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static gd.c:92: conflicting types for `gdIOCtx' /usr/include/gd_io.h:18: previous declaration of `gdIOCtx' make[3]: *** [gd.lo] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
From the Changelog 2002-02-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp> [...] * ext/gd/config.m4: fixed configure error with freetype1. The changes introduced by Rui break the recognition of GD 2.0.1 and Freetype2 at least on SuSE Linux 7.3, leading not only to the infamous GdIOCTX bug but also seem to confuse 'configure' (mcrypt version can't be detected). I'm not an autoconf/automake expert, so I can't say what exactly is wrong here, but people hit by this bug should just revert Rui's patch -- everything works fine then...;->... ======revert-gd-patch================================= --- config.m4 Sat Feb 23 02:36:55 2002 +++ config.m4 Sun Feb 24 14:05:54 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.83 2002/02/23 01:36:55 hirokawa Exp $ +dnl $Id: config.m4,v 1.82 2002/01/13 06:25:18 hirokawa Exp $ dnl AC_DEFUN(PHP_GD_JPEG,[ @@ -125,10 +125,6 @@ AC_DEFUN(PHP_GD_FREETYPE2,[ PHP_ARG_WITH(freetype-dir, for freetype(2), [ --with-freetype-dir=DIR GD: Set the path to freetype2 install prefix.]) - - if test "$PHP_TTF" != "no"; then - PHP_FREETYPE_DIR="no" - fi if test "$PHP_FREETYPE_DIR" != "no"; then for i in /usr /usr/local $PHP_FREETYPE_DIR; do