[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and lo

sean darcy seandarcy at hotmail.com
Sun Apr 20 07:52:38 EST 2003

>Around 19 o'clock on Apr 18, "sean darcy" wrote:

> > 2. The present spec file overwrites local.conf. I thought local.conf was
> > where we put  system-wide stuff that wouldn't be overwritten like
> > fonts.conf.
>Oops.  I've only tested in my environment, can you figure out why this
>happened?  It should test to see if the file already exists before
>installing a new version.

Well, it does test for local.conf. It's an RPM problem:

if [ -f /var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf ]; then \
  echo "not overwriting existing 
/var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf"; \
else if [ -f ./local.conf ]; then \
  echo " /usr/bin/install -c -m 644 ./local.conf 
/var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf"; \
  /usr/bin/install -c -m 644 ./local.conf 
/var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf; \
else if [ -f local.conf ]; then \
  echo " /usr/bin/install -c -m 644 local.conf 
/var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf"; \
  /usr/bin/install -c -m 644 local.conf 
/var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf; \
fi; fi; fi
/usr/bin/install -c -m 644 ./local.conf 

I don't know enough RPMese to suggest a fix.

> > [root at amd1900 Fonts]# fc-cache -v -f /win/ddrive/Winnt/Fonts
> > fc-cache: "/win/ddrive/Winnt/Fonts": Segmentation fault
>FreeType has a bug that causes this crash when looking at .fon fonts.  I've
>put a work-around in fontconfig to avoid it.
I got fcfreetype.c from cvs because I looks like that where the fix is. 
Stuck it in  2.1.94 and rebuilt. I still have the same problem.

But -you may ask - why didn't I just checkout cvs and build that? I tried.

got ltmain.sh from 2.1.94
automake --add-missing
./configure --prefix=/usr --disable-docs
Making all in doc
make[2]: Entering directory `/opt/misc/fontconfig/cvs/fontconfig/doc'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT edit-sgml.o -MD -MP -MF 
".deps/edit-sgml.Tpo" \
  -c -o edit-sgml.o `test -f 'edit-sgml.c' || echo './'`edit-sgml.c; \
then mv ".deps/edit-sgml.Tpo" ".deps/edit-sgml.Po"; \
else rm -f ".deps/edit-sgml.Tpo"; exit 1; \
/bin/sh ../libtool --mode=link gcc  -g -O2   -o edit-sgml  edit-sgml.o
mkdir .libs
gcc -g -O2 -o edit-sgml edit-sgml.o
make[2]: *** No rule to make target `fonts-conf.5', needed by `all-am'.  
make[2]: Leaving directory `/opt/misc/fontconfig/cvs/fontconfig/doc'
make[1]: *** [all-recursive] Error 1

Is there a problem, or am I missing a step?


Protect your PC - get McAfee.com VirusScan Online  

More information about the Fontconfig mailing list