Do I need a host.def to build X?

Alan Coopersmith Alan.Coopersmith at Sun.COM
Tue Jun 28 09:09:30 PDT 2005


Building Xorg CVS without a host.def requires a recent
version of FreeType 2 (2.1.8 or later I think) be already
installed on the machine.   If you don't want to replace
the system FreeType, you can put '#define HasFreetype2 NO'
in host.def.

	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


x nooby wrote:
> Hi Alan,
> 
> Below is the end of my output from this command:
> 
>   make World > World.log 2>&1
> 
> This is on Rehdat 7.3.
> 
> My error on Ubuntu was caused because it did not have
> bison (I think) installed.  On Fedora Core 4, I am
> able to build without a host.def, but have yet to be
> able to build the Xvesa server (thought the vesa
> frame-buffer seems to be there by default).
> 
> It looks like the problem is with 'freetype'.
> 
> 
> 
>>You shouldn't need a host.def (or at least nothing
>>more
>>than an empty one) to build on most common
>>platforms,
>>but without knowing what errors you hit we can't
>>tell what
>>went wrong or why.   I doubt many people have tried
>>building
>>the latest Xorg on such an old RedHat release any
>>time lately,
>>so there may simply be a bug there no one has
>>noticed.
> 
> 
> gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall
> -Wpointer-arith -Wundef   -I/usr/include/freetype2
> -I/usr/include/freetype2/config
> -I../../extras/fontconfig/src 
> -I../../extras/fontconfig -I../../exports/include/X11 
> -I../.. -I../../exports/include   -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
> -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE 
> -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO
> -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API   
> -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2 
> -DFONTCONFIG_PATH='"/etc/fonts"'     -fPIC fcdir.c
> rm -f fcfreetype.o
> gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall
> -Wpointer-arith -Wundef   -I/usr/include/freetype2
> -I/usr/include/freetype2/config
> -I../../extras/fontconfig/src 
> -I../../extras/fontconfig -I../../exports/include/X11 
> -I../.. -I../../exports/include   -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
> -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE 
> -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO
> -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API   
> -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2 
> -DFONTCONFIG_PATH='"/etc/fonts"'     -fPIC
> fcfreetype.c
> fcfreetype.c: In function `FcVendorFoundry':
> fcfreetype.c:253: warning: pointer targets in passing
> arg 2 of `FcVendorMatch' differ in signedness
> fcfreetype.c: In function `FcFreeTypeQuery':
> fcfreetype.c:279: `PS_FontInfoRec' undeclared (first
> use in this function)
> fcfreetype.c:279: (Each undeclared identifier is
> reported only once
> fcfreetype.c:279: for each function it appears in.)
> fcfreetype.c:279: parse error before `psfontinfo'
> fcfreetype.c:333: warning: pointer targets in passing
> arg 1 of `FcVendorFoundry' differ in signedness
> fcfreetype.c:568: warning: pointer targets in passing
> arg 1 of `FcNoticeFoundry' differ in signedness
> fcfreetype.c:738: warning: implicit declaration of
> function `FT_Get_PS_Font_Info'
> fcfreetype.c:738: `psfontinfo' undeclared (first use
> in this function)
> make[4]: *** [fcfreetype.o] Error 1
> make[4]: Leaving directory
> `/root/x_org/xc/lib/fontconfig'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/root/x_org/xc/lib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/x_org/xc'
> make[1]: *** [World] Error 2
> make[1]: Leaving directory `/root/x_org/xc'
> make: *** [World] Error 2
> 
> 
> 
> 		
> ____________________________________________________ 
> Yahoo! Sports 
> Rekindle the Rivalries. Sign up for Fantasy Football 
> http://football.fantasysports.yahoo.com




More information about the xorg mailing list