Thanks a lot!! Now I can compile Xft2.. =) btw, searching inside the mailing list archive I found the way to build Xrender! xmkmf -a Now everything works.. Perhaps someone can write a FAQ to this application because it is required by the two big Desktops in Linux (KDE & GNOME).. > You wrote: > > I'm triying to compile gnome2.2 with slackware linux, but one of the packages (libgnomecanvas) needs pangoft2, I figure out that the only way to build pangoft2 is to build Xft2 first!! so I'm triying to install the fcpackage.2_1. > > First, I compiled the fontconfig package (actually I had to clean the code to build it up), then when I try to compile Xft I get the following errors (and I don't know how to fix it): > > If someone can help me out with a patch or show me the way to fix it I'll very thankful!! (And I'll have gnome2.2 :D) > > netkrash@cami:~/gnome2/fcpackage.2_1/Xft$ make > cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -fPIC -DPIC -c xftrender.c -o xftrender.o > xftrender.c: In function `XftGlyphSpecRender': > xftrender.c:170: `XGlyphElt8' undeclared (first use in this function) > xftrender.c:170: (Each undeclared identifier is reported only once > xftrender.c:170: for each function it appears in.) > xftrender.c:170: `elts' undeclared (first use in this function) > xftrender.c:171: parse error before `elts_local' > xftrender.c:186: `glyphs_loaded' undeclared (first use in this function) > xftrender.c:234: `nelt' undeclared (first use in this function) > xftrender.c:247: `x' undeclared (first use in this function) > xftrender.c:248: `y' undeclared (first use in this function) > xftrender.c:272: `elts_local' undeclared (first use in this function) > xftrender.c:335: `XGlyphElt16' undeclared (first use in this function) > xftrender.c:335: parse error before `)' > xftrender.c:340: `XGlyphElt32' undeclared (first use in this function) > xftrender.c:340: parse error before `)' > xftrender.c: In function `XftGlyphFontSpecRender': > xftrender.c:414: `XGlyphElt8' undeclared (first use in this function) > xftrender.c:414: `elts' undeclared (first use in this function) > xftrender.c:415: parse error before `elts_local' > xftrender.c:428: `glyphs_loaded' undeclared (first use in this function) > xftrender.c:480: `nelt' undeclared (first use in this function) > xftrender.c:499: `x' undeclared (first use in this function) > xftrender.c:500: `y' undeclared (first use in this function) > xftrender.c:528: `elts_local' undeclared (first use in this function) > xftrender.c:596: `XGlyphElt16' undeclared (first use in this function) > xftrender.c:596: parse error before `)' > xftrender.c:601: `XGlyphElt32' undeclared (first use in this function) > xftrender.c:601: parse error before `)' > make: *** [xftrender.o] Error 1 > > -------- > > Xft has a dependency on Xrender. Either you'll need to compile and install > Xrender first, or at least add the include headers for the Xrender code > (though you have to create Xrender/X11/extensions, and symlink in the > *.h files from the top level Xrender src dir. > > Hope this helps. > > Ben > > > > -- Roberto.