I fixed this in the 4.3 branch a while ago but there were a lot of cries from the peanut gallery on the validity of the fix:
http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gdft.c?sbt=1&login=2&r1=1.11.2.10&r2=1.11.2.11&ty=h I still think it is the correct fix and will MFB it in a bit. -Rasmus On Wed, 17 Dec 2003, Derick Rethans wrote: > On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > OK, I re-rolled on snaps. I think we should address this issue in the > > future because it doesn't make sense that we can only roll one specific > > machine because it has some libtool patch. > > You can download the tars from http://snaps.php.net/~andi > > If there aren't any beta show stoppers (i.e. it doesn't format your > > harddrive) I'll re-roll final beta 3 tomorrow morning. > > Okay, now I get this error (this is since a recent change though): > > In file included from /dat/dev/php/php-5.0.0b3RC1/ext/gd/gd.c:71: > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' > hasn't been included yet!" > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always > use macros to include FreeType header files." > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" > /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include > <ft2build.h>" > /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include > FT_FREETYPE_H" > make: *** [ext/gd/gd.lo] Error 1 > > Configure line: > './configure' \ > '--with-apache=/dat/dev/php/apache_1.3.29' \ > '--with-gd' \ > '--with-freetype-dir=/usr' \ > '--with-ttf' \ > '--with-mysql=/usr' \ > '--with-pdflib=/usr/local' \ > '--enable-pdflib' \ > '--with-config-file-path=/etc/httpd' \ > '--enable-track-vars' \ > '--enable-memory-limit' \ > '--enable-debug' \ > '--with-iconv' \ > '--with-mbstring' \ > '--enable-mbstring' \ > '--with-ctype' \ > '--with-xmlrpc' \ > '--with-zlib' \ > '--with-xsl' \ > "$@" > > > regards, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php