Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2004 09:47:42 -0800
From:      Beecher Rintoul <akbeech@northwindcom.dyndns.org>
To:        freebsd-x11@freebsd.org
Subject:   Re: Error Building xorg libraries
Message-ID:  <200407110947.43068.akbeech@northwindcom.dyndns.org>
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 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 <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>
>
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
/ \ 
---------------------------------------------------------------------------------------













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