Hi, I tried to compile Xft from the fcpackage.2_1 package on hpux 11.00, a system w/o XFree86. The freetype.h is on my system in the directory = /usr/local/include/freetype2. my buildscript: #!/bin/csh -f # gmake clean setenv CC gcc setenv LDFLAGS "-L/usr/local/lib" setenv CPPFLAGS "-I/usr/local/include" # ./configure --with-freetype-includes=3D"/usr/local/include/freetype2" \ --with-freetype-lib=3D"/usr/local/lib" \ --with-freeetype-config=3D"/usr/local/bin/freetype-config" \ --with-fontconfig-includes=3D/usr/local/include/fontconfig \ --with-fontconfig-lib=3D/usr/local/lib \ --with-fontconfig-config=3D/usr/local/bin/fontconfig-config = \ --with-x gmake #gmake install mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft # ./mk rm -f libXft.so.2.0 libXft.so.2 libXft.so xftcolor.o xftcore.o xftdbg.o = xftdpy.o xftdraw.o xftextent.o xftfont.o xftfreetype.o xftglyphs.o = xftinit.o xftlist.o xftname.o xftrender.o xftstr.o xftswap.o xftxlfd.o loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -L/usr/local/lib) works... yes checking whether the C compiler (gcc -L/usr/local/lib) is a = cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/local/bin/install = -c checking whether ln -s works... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries , headers /usr/include/X11R6 checking for X11/extensions/Xrender.h... (cached) no checking for freetype-config... (cached) freetype-config checking for freetype2/freetype.h... (cached) no checking for fontconfig/fontconfig.h... (cached) no creating ./config.status creating Makefile creating xft.pc creating xft-config creating config.h config.h is unchanged gcc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -fPIC -DPIC -c = xftcolor.c -o xftcolor.o cc1: warning: changing search order for system directory = "/usr/local/include" cc1: warning: as it has already been specified as a non-system = directory In file included from xftint.h:39, from xftcolor.c:25: Xft.h:35:31: freetype/freetype.h: No such file or directory Xft.h:37:36: X11/extensions/Xrender.h: No such file or directory In file included from xftint.h:39, from xftcolor.c:25: Xft.h:52: parse error before "_XftFTlibrary" Xft.h:52: warning: data definition has no type or storage class Xft.h:69: parse error before "XRenderColor" Xft.h:69: warning: no semicolon at end of struct or union Xft.h:70: warning: data definition has no type or storage class Xft.h:86: parse error before "FT_UInt" Xft.h:86: warning: no semicolon at end of struct or union Xft.h:89: parse error before '}' token Xft.h:89: warning: data definition has no type or storage class Xft.h:93: parse error before "FT_UInt" Xft.h:93: warning: no semicolon at end of struct or union Xft.h:96: parse error before '}' token Xft.h:96: warning: data definition has no type or storage class Xft.h:107: parse error before "XftColor" Xft.h:113: parse error before '*' token Xft.h:120: parse error before "XftColor" Xft.h:179: parse error before "XftDrawPicture" Xft.h:179: warning: data definition has no type or storage class Xft.h:182: parse error before "XftDrawSrcPicture" Xft.h:182: parse error before '*' token Xft.h:182: warning: data definition has no type or storage class Xft.h:186: parse error before '*' token Xft.h:195: parse error before '*' token Xft.h:204: parse error before '*' token Xft.h:213: parse error before '*' token Xft.h:222: parse error before '*' token Xft.h:231: parse error before '*' token Xft.h:241: parse error before '*' token Xft.h:248: parse error before '*' token Xft.h:254: parse error before '*' token Xft.h:261: parse error before '*' token Xft.h:267: parse error before '*' token Xft.h:276: parse error before "Region" Xft.h:295: parse error before '*' token Xft.h:304: parse error before "XGlyphInfo" Xft.h:311: parse error before "XGlyphInfo" Xft.h:318: parse error before "XGlyphInfo" Xft.h:325: parse error before "XGlyphInfo" Xft.h:332: parse error before "XGlyphInfo" Xft.h:353: parse error before "XftLockFace" Xft.h:353: warning: data definition has no type or storage class Xft.h:392: parse error before '*' token Xft.h:398: parse error before '*' token Xft.h:407: parse error before "FT_UInt" Xft.h:417: parse error before "XftCharIndex" Xft.h:419: warning: data definition has no type or storage class Xft.h:453: parse error before "Picture" Xft.h:466: parse error before "Picture" Xft.h:477: parse error before "Picture" Xft.h:488: parse error before "Picture" Xft.h:498: parse error before "Picture" Xft.h:508: parse error before "Picture" Xft.h:521: parse error before "Picture" Xft.h:534: parse error before "Picture" Xft.h:547: parse error before "Picture" Xft.h:560: parse error before "Picture" Xft.h:573: parse error before "Picture" Xft.h:586: parse error before "Picture" Xft.h:599: parse error before "Picture" In file included from xftint.h:41, from xftcolor.c:25: /usr/local/include/fontconfig/fcfreetype.h:27:31: freetype/freetype.h: = No such file or directory In file included from xftint.h:41, from xftcolor.c:25: /usr/local/include/fontconfig/fcfreetype.h:30: parse error before = "FcFreeTypeCharIndex" /usr/local/include/fontconfig/fcfreetype.h:30: parse error before "face" /usr/local/include/fontconfig/fcfreetype.h:30: warning: data definition = has no type or storage class /usr/local/include/fontconfig/fcfreetype.h:33: parse error before "face" /usr/local/include/fontconfig/fcfreetype.h:36: parse error before = "FT_Face" /usr/local/include/fontconfig/fcfreetype.h:39: parse error before "f" In file included from xftcolor.c:25: xftint.h:57: parse error before "XGlyphInfo" xftint.h:57: warning: no semicolon at end of struct or union xftint.h:60: parse error before '}' token xftint.h:60: warning: data definition has no type or storage class xftint.h:67: parse error before "FT_UInt" xftint.h:67: warning: no semicolon at end of struct or union xftint.h:68: warning: data definition has no type or storage class xftint.h:84: parse error before "FT_F26Dot6" xftint.h:84: warning: no semicolon at end of struct or union xftint.h:85: warning: data definition has no type or storage class xftint.h:86: parse error before "matrix" xftint.h:86: warning: data definition has no type or storage class xftint.h:89: parse error before "face" xftint.h:89: warning: data definition has no type or storage class xftint.h:90: warning: data definition has no type or storage class xftint.h:102: parse error before "XftFtFile" xftint.h:102: warning: no semicolon at end of struct or union xftint.h:106: warning: data definition has no type or storage class xftint.h:109: parse error before "matrix" xftint.h:109: warning: data definition has no type or storage class xftint.h:111: parse error before "load_flags" xftint.h:111: warning: data definition has no type or storage class xftint.h:119: parse error before '}' token xftint.h:129: field `info' has incomplete type xftint.h:135: parse error before "XftGlyph" xftint.h:135: warning: no semicolon at end of struct or union xftint.h:141: parse error before '*' token xftint.h:141: warning: data definition has no type or storage class xftint.h:147: parse error before "glyphset" xftint.h:147: warning: data definition has no type or storage class xftint.h:148: parse error before '*' token xftint.h:148: warning: data definition has no type or storage class xftint.h:155: parse error before '}' token xftint.h:155: warning: data definition has no type or storage class xftint.h:171: parse error before "Region" xftint.h:171: warning: no semicolon at end of struct or union xftint.h:172: warning: data definition has no type or storage class xftint.h:183: parse error before "XftClip" xftint.h:183: warning: no semicolon at end of struct or union xftint.h:186: parse error before "Picture" xftint.h:186: warning: no semicolon at end of struct or union xftint.h:187: warning: data definition has no type or storage class xftint.h:192: parse error before '}' token xftint.h:203: parse error before "XRenderColor" xftint.h:203: warning: no semicolon at end of struct or union xftint.h:205: parse error before "pict" xftint.h:205: warning: data definition has no type or storage class xftint.h:206: warning: data definition has no type or storage class xftint.h:219: parse error before "XRenderPictFormat" xftint.h:219: warning: no semicolon at end of struct or union xftint.h:225: parse error before "colors" xftint.h:225: warning: data definition has no type or storage class xftint.h:227: parse error before '}' token xftint.h:227: warning: data definition has no type or storage class xftint.h:243: parse error before '*' token xftint.h:243: warning: data definition has no type or storage class xftint.h:300: parse error before '*' token xftint.h:308: parse error before '*' token xftint.h:317: parse error before '*' token xftint.h:324: parse error before '*' token xftint.h:333: parse error before '*' token xftint.h:334: warning: data definition has no type or storage class xftint.h:370: parse error before '*' token xftcolor.c:32: parse error before "XftColor" xftcolor.c: In function `XftColorAllocName': xftcolor.c:36: `dpy' undeclared (first use in this function) xftcolor.c:36: (Each undeclared identifier is reported only once xftcolor.c:36: for each function it appears in.) xftcolor.c:36: `cmap' undeclared (first use in this function) xftcolor.c:36: `name' undeclared (first use in this function) xftcolor.c:42: `result' undeclared (first use in this function) xftcolor.c: At top level: xftcolor.c:80: parse error before '*' token xftcolor.c: In function `XftColorAllocValue': xftcolor.c:83: `visual' undeclared (first use in this function) xftcolor.c:95: `result' undeclared (first use in this function) xftcolor.c:95: `color' undeclared (first use in this function) xftcolor.c:106: `dpy' undeclared (first use in this function) xftcolor.c:106: `cmap' undeclared (first use in this function) xftcolor.c: At top level: xftcolor.c:121: parse error before "XftColor" xftcolor.c: In function `XftColorFree': xftcolor.c:123: `visual' undeclared (first use in this function) xftcolor.c:124: `dpy' undeclared (first use in this function) xftcolor.c:124: `cmap' undeclared (first use in this function) xftcolor.c:124: `color' undeclared (first use in this function) gmake: *** [xftcolor.o] Error 1 mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft # any suggestion ? thanks Martin