Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2004 12:20:01 -0700
From:      Eric Anholt <eta@lclark.edu>
To:        akbeech@northwindcom.dyndns.org
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Error Building xorg libraries
Message-ID:  <1089573601.891.67.camel@leguin>
In-Reply-To: <200407102156.21428.akbeech@northwindcom.dyndns.org>
References:  <200407102156.21428.akbeech@northwindcom.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2004-07-10 at 22:56, 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 <FILENAME>
> ftfuncs.c:48:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:49:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:50:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:51:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:52:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:53:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:54:10: #include expects "FILENAME" or <FILENAME>
> 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'
> <SNIP>
> 
> The files it's looking for are there. /usr/local/include/freetype2 seems to be 
> included. Anyone have a suggestion how to fix this? I'm running -current from 
> thursday.

Sounds like your imake install is broken.  Try reinstalling
deve/imake-6.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org




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