Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 22:46:38 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Joseph Olatt <joji@eskimo.com>
Cc:        gnome@FreeBSD.org
Subject:   Re: Xft fails to compile under FreeBSD 4.8
Message-ID:  <oprxi3f0yl8ckrg5@smtp.central.cox.net>
In-Reply-To: <20031023203106.A26238@eskimo.eskimo.com>
References:  <20031023203106.A26238@eskimo.eskimo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Oct 2003 20:31:06 -0700, Joseph Olatt <joji@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@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@snow$ uname -a
> FreeBSD snow 4.8-STABLE FreeBSD 4.8-STABLE #8: Sat Apr 19 09:10:53 CDT
> 2003     root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprxi3f0yl8ckrg5>