[Fontconfig] fcpackage 2.1

Adam Ritchie adam at lni.net
Fri Feb 7 10:22:17 EST 2003


Hi all, I downloaded this package so I could install fontconfig and Xft 2.1 on 
my Mandrake Linux 8.1 system.  The reason, I am trying to compile and install 
KDE 3.1 but I am having some problems with this package.  I am having 
problems compiling Xft 2.  The configure goes fine but I get this when I run 
make:

cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/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

Now I did get fontconfig compiled and installed but then I run into this with 
the kde 3.1 compile(qt 3.1 part of the compile):

/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/bin/uic -L 
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/plugins 
listboxeditor.ui -o
 listboxeditor.h
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/bin/uic: error 
while loading shared libraries: libfontconfig.so.1: cannot open shared object 
file:                               No such file or directory
make[8]: *** [listboxeditor.h] Error 127
make[8]: Leaving directory 
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                              
ee-3.1.1/tools/designer/designer'
make[7]: *** [sub-designer] Error 2
make[7]: Leaving directory 
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                              
ee-3.1.1/tools/designer'
make[6]: *** [sub-designer] Error 2
make[6]: Leaving directory 
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                              
ee-3.1.1/tools'
make[5]: *** [sub-tools] Error 2
make[5]: Leaving directory 
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                              
ee-3.1.1'
make[4]: *** [build-work/qt-x11-free-3.1.1/Makefile] Error 2
make[4]: Leaving directory `/home/adam/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/home/adam/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/adam/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/adam/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

I apologize for the formatting.  If you could give me any help I would 
appreciate.  I have been just banging my head against the wall on this.  
There is no Xft2 or fontconfig rpms for MDK 8.1.
The files libfontconfig.so.1.0 and the links libfontconfig.so and 
libfontconfig.so.1 were placed in the /usr/local/lib folder.

Regards,
Adam Ritchie





More information about the Fontconfig mailing list