From owner-freebsd-x11@FreeBSD.ORG Sun Jul 11 17:47:46 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEBBB16A4CE for ; Sun, 11 Jul 2004 17:47:45 +0000 (GMT) Received: from northwindcom.dyndns.org (135-203-237-24.gci.net [24.237.203.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7321043D2D for ; Sun, 11 Jul 2004 17:47:45 +0000 (GMT) (envelope-from akbeech@northwindcom.dyndns.org) Received: from localhost.dyndns.org (localhost.dyndns.org [127.0.0.1]) by northwindcom.dyndns.org (Postfix) with ESMTP id D2B522660 for ; Sun, 11 Jul 2004 09:47:44 -0800 (AKDT) From: Beecher Rintoul Organization: NorthWind Communications To: freebsd-x11@freebsd.org Date: Sun, 11 Jul 2004 09:47:42 -0800 User-Agent: KMail/1.6.2 References: <200407102156.21428.akbeech@northwindcom.dyndns.org> In-Reply-To: <200407102156.21428.akbeech@northwindcom.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407110947.43068.akbeech@northwindcom.dyndns.org> Subject: Re: Error Building xorg libraries X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: akbeech@northwindcom.dyndns.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 17:47:46 -0000 On Saturday 10 July 2004 09:56 pm, Beecher Rintoul wrote: > I'm getting the following error trying to build xorg libs: > > c -c -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall > -Wpointer-arith -Wundef -I/usr/include/freetype2 > -I/usr/include/freetype2/config -I. > -I/usr/ports/x11/xorg-libraries/work/xc/include/fonts -I../include > -I/usr/ports/x11/xorg-libraries/work/xc/exports/include/X11 > -I/usr/ports/x11/xorg-libraries/work/xc/programs/Xserver/include > -I/usr/ports/x11/xorg-libraries/work/xc/exports/include > -I/usr/ports/x11/xorg-libraries/work/xc > -I/usr/ports/x11/xorg-libraries/work/xc/exports/include > -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO > -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH > -DXFreeXDGA -DXvExtension > -DXFree86LOADER -DXFree86Server -DXF86VIDMODE > -DXvMCExtension -DSMART_SCHEDULE > -DBUILDDEBUG -DXResExtension > -DX_BYTE_ORDER=X_LITTLE_ENDIAN > -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) + > 0)" -DXFREE86_FT2 -DXVENDORNAME='"The X.Org Foundation"' > -DXVENDORNAMESHORT='"X.Org"' -O -pipe ftfuncs.c -o > unshared/ftfuncs.o > In file included from ftfuncs.c:46: > /usr/X11R6/include/ft2build.h:55:38: freetype/config/ftheader.h: No such > file or directory > ftfuncs.c:47:10: #include expects "FILENAME" or > ftfuncs.c:48:10: #include expects "FILENAME" or > ftfuncs.c:49:10: #include expects "FILENAME" or > ftfuncs.c:50:10: #include expects "FILENAME" or > ftfuncs.c:51:10: #include expects "FILENAME" or > ftfuncs.c:52:10: #include expects "FILENAME" or > ftfuncs.c:53:10: #include expects "FILENAME" or > ftfuncs.c:54:10: #include expects "FILENAME" or > In file included from ftfuncs.c:69: > ft.h:68: error: syntax error before "FT_CharMap" > ft.h:83: error: syntax error before "FT_Face" > ft.h:84: error: syntax error before "face" > ft.h:89: error: syntax error before "int" > In file included from ftfuncs.c:70: > ftfuncs.h:48: error: syntax error before "FT_Face" > ftfuncs.h:59: error: syntax error before "FT_Matrix" > ftfuncs.h:121: error: syntax error before "FT_Size" > ftfuncs.h:123: error: syntax error before "FT_Int32" > ftfuncs.h:162: error: syntax error before "FT_Int32" > ftfuncs.h:182: error: syntax error before "FT_Int32" > ftfuncs.c:125: error: syntax error before "ftypeLibrary" > ftfuncs.c:125: warning: type defaults to `int' in declaration of > `ftypeLibrary' > > Problem solved. Includes were pointing to /usr/include/freetype2 instead of /usr/local/include/freetype2. I did a symlink, but /usr/local/include is the path that freetype2 uses on install. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - System Administrator - akbeech@northwindcom.dyndns.org /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ ---------------------------------------------------------------------------------------