[Fontconfig] build problems on Debian Woody

Michael Richardson mcr at sandelman.ottawa.on.ca
Sun Jul 6 22:42:18 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----


I am building on a stock-ish Debian Woody system. I am running -stable.
I am not upgrading any core components, but I am happy to install other
items from source. (Ultimate target is koffice 1.2.90)

I had to install libexpat-dev to get the headers. ./configure informed
me of that lack.

I have:	   
cassidy:~# dpkg -S /usr/include/expat.h 
libexpat1-dev: /usr/include/expat.h

cassidy:~# dpkg -s libexpat1-dev
Package: libexpat1-dev
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 348
Maintainer: Ardo van Rangelrooij <ardo at debian.org>
Source: expat
Version: 1.95.2-6
Depends: libexpat1 (= 1.95.2-6), libc6-dev

After some googling, the error looks like it might be freetype:

cassidy-[/sandel/src/fontconfig-2.2.0] mcr 1109 %dpkg -S /usr/bin/freetype-config
libfreetype6-dev: /usr/bin/freetype-config
cassidy-[/sandel/src/fontconfig-2.2.0] mcr 1110 %dpkg -s libfreetype6-dev
Package: libfreetype6-dev
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 2728
Maintainer: Anthony Fok <foka at debian.org>
Source: freetype
Version: 2.0.9-1
Replaces: freetype0-dev, freetype1-dev
Depends: libfreetype6 (= 2.0.9-1), libc6-dev | libc-dev

which I'm guessing is not new enough. I suggest upgrading the test in
configure.in....

I installed 2.1.4 from www.freetype.org and all went well. That should be
listed as a requirement in README/INSTALL. Thank you!

...


cassidy-[/sandel/src/fontconfig-2.2.0] mcr 1101 %make
make  all-recursive
make[1]: Entering directory `/home/sandel/src/fontconfig-2.2.0'
Making all in fontconfig
make[2]: Entering directory `/home/sandel/src/fontconfig-2.2.0/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sandel/src/fontconfig-2.2.0/fontconfig'
Making all in fc-lang
make[2]: Entering directory `/home/sandel/src/fontconfig-2.2.0/fc-lang'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sandel/src/fontconfig-2.2.0/fc-lang'
Making all in src
make[2]: Entering directory `/home/sandel/src/fontconfig-2.2.0/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2                                                                    -DFONTCONFIG_PATH='"/sandel/etc/fonts"'                  -I..                   -I../src    -g -O2 -c fcfreetype.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -DFONTCONFIG_PATH=\"/sandel/etc/fonts\" -I.. -I../src -g -O2 -c fcfreetype.c    -fPIC -o .libs/fcfreetype.o
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:279: `PS_FontInfoRec' undeclared (first use in this function)
fcfreetype.c:279: (Each undeclared identifier is reported only once
fcfreetype.c:279: for each function it appears in.)
fcfreetype.c:279: parse error before `psfontinfo'
fcfreetype.c:738: `psfontinfo' undeclared (first use in this function)
make[2]: *** [fcfreetype.lo] Error 1
make[2]: Leaving directory `/home/sandel/src/fontconfig-2.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sandel/src/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2
zsh: 29944 exit 2     make
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPwjP+IqHRg3pndX9AQHtfQQAw10rZs6Yw7+zOYOvbfBYmSSKf6JKpKqV
4wmUxC2vBauzRQEv2Xx2bppkbxpdCN7UImICfiDh6z66LN1YTus66L1R3EhkKvS+
F90uPThiAAH114N9fNZose3Y1ti2OE9EvMr/Kd44df/nTnPh9xlPOpjXCLyDTRHQ
Td07ubXicxU=
=LeGi
-----END PGP SIGNATURE-----



More information about the Fontconfig mailing list