Re: Testers needed for bundled gd library in CVS

From: Date: Sat, 15 Jun 2002 20:42:49 +0000
Subject: Re: Testers needed for bundled gd library in CVS
References: 1 2 3 4  Groups: php.qa 
Request: Send a blank email to php-qa+get-5546@lists.php.net to get a copy of this message
Current snapshot with freetype 2.1.1, compile failure, complaining about: In file included from /home/mdev/_src/php4-200206150600/ext/gd/libgd/gdft.c:44: /usr/local/include/freetype2/freetype/ftglyph.h:104: syntax error before `FT_Library' /usr/local/include/freetype2/freetype/ftglyph.h:106: syntax error before `FT_Glyph_Format' /usr/local/include/freetype2/freetype/ftglyph.h:157: syntax error before `FT_Int' /usr/local/include/freetype2/freetype/ftglyph.h:205: syntax error before `FT_Outline' /usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error before `FT_Get_Glyph' /usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error before `slot' /usr/local/include/freetype2/freetype/ftglyph.h:229: warning: data definition has no type or storage class
Got it. There was a package from a 4.2 installation, in /usr/local/include/freetype - or maybe it's even used by some desktop app - it doesn't list as being in the current ports package for FreeBSD. I've moved it do freetype.disabled just in case KDE starts complaining and all was well. Since /usr/local/include precedes /usr/local/include/freetype2 the wrong freetype/freetype.h header was included. Should we check for this, or put in the FAQ? Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster

« previous php.qa (#5546) next »