When compiling xserver/dix/dixfonts.c I get: In file included from ../../../include/regionstr.h:53, from ../../../include/scrnintstr.h:52, from ../../../dix/dixfonts.c:59: ../../../include/miscstruct.h:54:20: error: pixman.h: No such file or directory The line is: #include <pixman.h> The header file is installed as: /usr/X11/include/pixman-1/pixman.h. Its directory is not in the search path for C header files, -I/usr/X11/include/pixman-1 is used for other files.
-I/usr/X11/include/pixman-1 must be used, otherwise #include <pixman-version.h> will fail.
> The header file is installed as: /usr/X11/include/pixman-1/pixman.h. Its > directory is not in the search path for C header files, > -I/usr/X11/include/pixman-1 is used for other files. > why is it not there? this option should be part of DIX_CFLAGS, which is used by dix/Makefile.am.
Could be the reason is that I need to use on my Mac with Mac OS X 10.4.11 (Tiger) an elder version of xserver, 1.4.x (xserver/configure.ac from 2009-02-05 contains "1.4.2-apple32"). The file xserver/dix/Makefile.am only *uses* the DIX_CFLAGS macro. Grep finds it in: xserver/dix/Makefile:127:DIX_CFLAGS = -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/usr/X11/include -I/usr/X11/include/pixman-1 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/Xext -I$(top_srcdir)/damageext -I$(top_srcdir)/xfixes -I$(top_srcdir)/Xi -I$(top_srcdir)/mi -I$(top_srcdir)/miext/shadow -I$(top_srcdir)/miext/damage -I$(top_srcdir)/render -I$(top_srcdir)/randr -I$(top_srcdir)/fb xserver/dix/Makefile:380:AM_CFLAGS = $(DIX_CFLAGS) \ xserver/dix/Makefile.am:3:AM_CFLAGS = $(DIX_CFLAGS) \ xserver/dix/Makefile.in:127:DIX_CFLAGS = @DIX_CFLAGS@ xserver/dix/Makefile.in:380:AM_CFLAGS = $(DIX_CFLAGS) \ so it should have worked the first time. I 'made clean' and then issued a 'make -k' in the xserver branch – and this particular problem was gone, xserver/dix/dixfonts.c compiled fine! So it's magically resolved ...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.