Keith Packard
2005-Nov-21 08:50 UTC
[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and lo
Around 17 o''clock on Apr 19, "sean darcy" wrote:> But -you may ask - why didn''t I just checkout cvs and build that? I tried.You''ll need the doctools stuff to build fontconfig from CVS. The tarballs include pre-built manuals. btw -- there should be an ''autogen.sh'' in CVS that will do the necessary steps to prepare the sources for bulding: $ ./autogen.sh --prefix=/usr --sysconfdir=/etc -keith
sean darcy
2005-Nov-21 08:50 UTC
[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and lo
> >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 /var/tmp/fontconfig-2.1.94-root/etc/fonts/local.conf I don''t know enough RPMese to suggest a fix. .............> > > [root@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 aclocal autoheader automake --add-missing ./configure --prefix=/usr --disable-docs make ........ 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; \ fi /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''. Stop. 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? sean _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963