PHP Bugs: #19542: imagettfbbox() ... undefined

I have expirienced the same thing, recompiled PHP time after time, 'till
i realised not PHP was the faulty one, but GD!

I have done the following (under RedHat 8.0):

1) Download and install both RPM's for FreeType (current:
freetype-2.1.2.7*.rpm and freetype-devel-2.1.2.7*.rpm)
2) Download GD 1.8.4 from GD Graphics Library
3) Edit the makefile and BE SURE to check freetype-support
(various options in the Makefile)
4) Include /usr/lib/freetype1/freetype in the INCLUDE_DIR= line
(otherwise make will stumble on "tff.h" or so... )
5) (optional) Set the "make install" directories to /usr/ instead of
/usr/local/
6) "Make" and "Make Install" GD
7) Configure PHP 4.2.3 --with-gd --with-freetype-dir=/usr/lib/
--with-ttf-dir=/usr/lib --enable-gd-native-ttf
8) "Make" and "Make Install" PHP.

After this, imagettfbbox() was recognised as a function on my
PHP-pages...