Xft fails to compile under FreeBSD 4.8

Jeremy Messenger mezz7 at cox.net
Thu Oct 23 20:47:55 PDT 2003


On Thu, 23 Oct 2003 20:31:06 -0700, Joseph Olatt <joji at eskimo.com> wrote:

> Hello,
>
> I was trying to build the latest version of mozilla after updating the
> ports tree. It depends on Xft and exits with the following error:
>
> *** Begin transcript ***
> [/usr/ports/x11-fonts/Xft]
> root at snow$ make install clean
> ===>  Building for Xft-2.1.2
> gmake  all-am
> gmake[1]: Entering directory `/opt/ports/x11-fonts/Xft/work/xft-2.1.2'
> source='xftdpy.c' object='xftdpy.lo' libtool=yes \
> depfile='.deps/xftdpy.Plo' tmpdepfile='.deps/xftdpy.TPlo' \
> depmode=gcc /bin/sh ./depcomp \
> /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/X11R6/include -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include
> -O -pipe  -c -o xftdpy.lo `test -f 'xftdpy.c' || echo './'`xftdpy.c
>  cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include
> -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/X11R6/include -O -pipe -c xftdpy.c -Wp,-MD,.deps/xftdpy.TPlo
> -fPIC -o .libs/xftdpy.o
> xftdpy.c: In function `XftDefaultSubstitute':
> xftdpy.c:484: `FC_RGBA_UNKNOWN' undeclared (first use in this function)
> xftdpy.c:484: (Each undeclared identifier is reported only once
> xftdpy.c:484: for each function it appears in.)
> gmake[1]: *** [xftdpy.lo] Error 1
> gmake[1]: Leaving directory `/opt/ports/x11-fonts/Xft/work/xft-2.1.2'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /opt/ports/x11-fonts/Xft.
>
> [/usr/ports/x11-fonts/Xft]
> root at snow$ uname -a
> FreeBSD snow 4.8-STABLE FreeBSD 4.8-STABLE #8: Sat Apr 19 09:10:53 CDT
> 2003     root at snow:/usr/src/sys/compile/SNOW  i386
>
> *** End transcript ***
>
>
> Please note that I'm running 4.8-STABLE.
>
> If you would like me to do something else to resolve this problem,
> kindly let me know.

You need to make sure x11-fonts/fontconfig is up-to-date before updating 
Xft. You should use portupgrade to update all of apps in your system.

Cheers,
Mezz

> Thank you very much for your role in FreeBSD.
>
> regards,
> joseph


-- 
bsdforums.org 's moderator, mezz.


More information about the freebsd-gnome mailing list