[Bug 2061] New: xserver won't compile with freetype-related error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 12 04:31:11 PST 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://bugs.freedesktop.org/show_bug.cgi?id=2061        
   
           Summary: xserver won't compile with freetype-related error
           Product: xorg
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: clock at twibright.com


x.org X11R6.8.1 source tree was compiled (according to my best conscience)
exactly according to step-by-step guide presented in README and BUILD. The
compilation crashed with this error:

gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic -Wall
-Wpointer-arith -Wundef   -I/usr/include/freetype2 -I/usr/includ
e/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 -DNARRO WPROTO
-DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DFC_DEFAULT_FONTS='""'
-DHAVE_EXPAT -DXFREE86_FT2         -DFONTCONFIG_PATH='"/etc/fonts"'      -fPIC
fcatomic.c In file included from
../../extras/fontconfig/fontconfig/fcfreetype.h:26,                  from
../../extras/fontconfig/src/fcint.h:38,                  from fcatomic.c:49:
/usr/local/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file or
directory In file included from ../../extras/fontconfig/src/fcint.h:38,          
       from fcatomic.c:49: ../../extras/fontconfig/fontconfig/fcfreetype.h:27:10:
#include expects "FILENAME" or <FILENAME> In file included from
../../extras/fontconfig/src/fcint.h:38,                  from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:30: syntax error before
"FcFreeTypeCharIndex" ../../extras/fontconfig/fontconfig/fcfreetype.h:30: syntax
error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:30: warning:
type defaults to `int' in declaration of `FcFreeTypeCharIndex'
../../extras/fontconfig/fontconfig/fcfreetype.h:30: ISO C forbids data definition
with no type or storage class ../../extras/fontconfig/fontconfig/fcfreetype.h:33:
syntax error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:36:
syntax error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:39:
syntax error before "FT_Face" ../../extras/fontconfig/fontconfig/fcfreetype.h:42:
warning: type defaults to `int' in declaration of `FT_Face'
../../extras/fontconfig/fontconfig/fcfreetype.h:42: syntax error before "f" In
file included from fcatomic.c:49: ../../extras/fontconfig/src/fcint.h:496: syntax
error before "encoding" fcatomic.c: In function `FcAtomicLock': fcatomic.c:101:
warning: unused variable `fd' fcatomic.c:102: warning: unused variable `f'
make[4]: *** [fcatomic.o] Error 1 make[4]: Leaving directory
`/home/clock/build/lib/fontconfig' make[3]: *** [all] Error 2 make[3]: Leaving
directory `/home/clock/build/lib' make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/clock/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/clock/build'
make: *** [World] Error 2

Please tell what should be examined about placement, versions etc. of various
libraries to determine cause of this IMHO bug.        
   
   
--         
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list