[Fontconfig] fcpackage 2.1

Adam Ritchie fontconfig@fontconfig.org
Thu, 6 Feb 2003 18:22:17 -0500


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

cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/include/freetyp=
e2=20
-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=20
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=20
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/plugins=20
listboxeditor.ui -o
 listboxeditor.h
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/bin/uic: err=
or=20
while loading shared libraries: libfontconfig.so.1: cannot open shared ob=
ject=20
file:                               No such file or directory
make[8]: *** [listboxeditor.h] Error 127
make[8]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools/designer/designer'
make[7]: *** [sub-designer] Error 2
make[7]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools/designer'
make[6]: *** [sub-designer] Error 2
make[6]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools'
make[5]: *** [sub-tools] Error 2
make[5]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
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=20
appreciate.  I have been just banging my head against the wall on this. =20
There is no Xft2 or fontconfig rpms for MDK 8.1.
The files libfontconfig.so.1.0 and the links libfontconfig.so and=20
libfontconfig.so.1 were placed in the /usr/local/lib folder.

Regards,
Adam Ritchie