From owner-freebsd-gnome Fri Jan 24 10:40:13 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0A3E37B401 for ; Fri, 24 Jan 2003 10:40:09 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9208543E4A for ; Fri, 24 Jan 2003 10:40:08 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h0OIcQDx066887; Fri, 24 Jan 2003 13:38:26 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: x11-fonts/Xft: XGlyphElt8 undeclared From: Joe Marcus Clarke To: jason-exp-1044124094.b34435@mastaler.com Cc: FreeBSD GNOME Users In-Reply-To: References: Content-Type: text/plain Organization: MarcusCom, Inc. Message-Id: <1043433576.325.66.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 24 Jan 2003 13:39:37 -0500 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2003-01-24 at 13:28, Jason R. Mastaler wrote: > The FreeBSD port x11-fonts/Xft seems broken. Any known fixes for this > problem? The port is fine. However, there are some things you have to consider. First, you are not allowed to report bugs unless you're reproduced the problem without -O2 and -march=i686. You should also always include this list of installed ports/packages. First, what is supported/required: * FreeBSD 4.5 or later * Latest freetype2 and latest XFree86 4.2.1 bits What isn't supported: * Anything prior to FreeBSD 4.5 * XFree86 < 4.2.1 or > 4.2.1 (e.g. Eric's 4.2.99 ports) * Versions of FreeType2 < 2.1.2. Now, if you meet the above supported requirements, please try to build without -O2 and -march=i686, and send a list of your installed ports/packages as well as the version of FreeBSD on which you're trying to build. If you're not running a supported setup, upgrade/downgrade to a supported setup, and you should be fine. If you still encounter problems, see above. Joe > > ===> Extracting for Xft-2.1 > >> Checksum OK for fcpackage.2_1.tar.gz. > ===> Xft-2.1 depends on executable: gmake - found > ===> Xft-2.1 depends on file: /usr/local/bin/sed_inplace - found > ===> Xft-2.1 depends on shared library: fontconfig.1 - found > ===> Xft-2.1 depends on shared library: X11.6 - found > ===> Patching for Xft-2.1 > ===> Applying FreeBSD patches for Xft-2.1 > ===> Configuring for Xft-2.1 > creating cache ./config.cache > checking for gcc... cc > checking whether the C compiler (cc -O2 -pipe -march=i686 ) works... yes > checking whether the C compiler (cc -O2 -pipe -march=i686 ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether cc accepts -g... yes > checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel > checking whether ln -s works... yes > checking how to run the C preprocessor... cc -E > checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include > checking for X11/extensions/Xrender.h... yes > checking for XRenderQueryVersion... no > checking for freetype-config... freetype-config > checking for freetype/freetype.h... yes > checking for FT_Init_FreeType... yes > checking for fontconfig-config... fontconfig-config > checking for fontconfig/fontconfig.h... yes > checking for FcInit... yes > updating cache ./config.cache > creating ./config.status > creating Makefile > creating xft.pc > creating xft-config > creating config.h > ===> Building for Xft-2.1 > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftcolor.c -o xftcolor.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftcore.c -o xftcore.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdbg.c -o xftdbg.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdpy.c -o xftdpy.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdraw.c -o xftdraw.o > xftdraw.c: In function `XftDrawSrcPicture': > xftdraw.c:373: warning: passing arg 4 of `XRenderFillRectangle' discards qualifiers from pointer target type > xftdraw.c: In function `XftDrawRect': > xftdraw.c:811: warning: passing arg 4 of `XRenderFillRectangle' discards qualifiers from pointer target type > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftextent.c -o xftextent.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfont.c -o xftfont.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfreetype.c -o xftfreetype.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftglyphs.c -o xftglyphs.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftinit.c -o xftinit.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftlist.c -o xftlist.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftname.c -o xftname.o > cc -O2 -pipe -march=i686 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftrender.c -o xftrender.o > xftrender.c: In function `XftGlyphSpecRender': > xftrender.c:170: `XGlyphElt8' undeclared (first use in this function) > xftrender.c:170: (Each undeclared identifier is reported only once > xftrender.c:170: for each function it appears in.) > xftrender.c:170: `elts' undeclared (first use in this function) > xftrender.c:171: syntax error before `elts_local' > xftrender.c:186: `glyphs_loaded' undeclared (first use in this function) > xftrender.c:234: `nelt' undeclared (first use in this function) > xftrender.c:247: `x' undeclared (first use in this function) > xftrender.c:248: `y' undeclared (first use in this function) > xftrender.c:272: `elts_local' undeclared (first use in this function) > xftrender.c:335: `XGlyphElt16' undeclared (first use in this function) > xftrender.c:335: syntax error before `)' > xftrender.c:340: `XGlyphElt32' undeclared (first use in this function) > xftrender.c:340: syntax error before `)' > xftrender.c: In function `XftGlyphFontSpecRender': > xftrender.c:414: `XGlyphElt8' undeclared (first use in this function) > xftrender.c:414: `elts' undeclared (first use in this function) > xftrender.c:415: syntax error before `elts_local' > xftrender.c:428: `glyphs_loaded' undeclared (first use in this function) > xftrender.c:480: `nelt' undeclared (first use in this function) > xftrender.c:499: `x' undeclared (first use in this function) > xftrender.c:500: `y' undeclared (first use in this function) > xftrender.c:528: `elts_local' undeclared (first use in this function) > xftrender.c:596: `XGlyphElt16' undeclared (first use in this function) > xftrender.c:596: syntax error before `)' > xftrender.c:601: `XGlyphElt32' undeclared (first use in this function) > xftrender.c:601: syntax error before `)' > gmake: *** [xftrender.o] Error 1 > *** Error code 2 > > Stop in /usr/ports/x11-fonts/Xft. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message