GD from ports on FreeBSD 4.9

Wayne Pascoe freebsd-feb at penguinpowered.org
Thu Apr 22 08:43:45 PDT 2004


Hi all,

I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears to
want to update gd

The gd update is failing with the following errors:

cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
-I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
-I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
-DHAVE_LIBZ   -c gdft.c -o gdft.o
gdft.c: In function `fontFetch':
gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
gdft.c:485: (Each undeclared identifier is reported only once
gdft.c:485: for each function it appears in.)
gdft.c:486: `FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this
function)
gdft.c:486: `FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this
function)
gdft.c: In function `gdImageStringFTEx':
gdft.c:1050: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd.

Any idea how to fix it ? 

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein


More information about the freebsd-questions mailing list