This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: FW: xc/lib/fontconfig/fonts.conf depends on existing fonts installation
- From: Nicholas Wourms <nwourms at yahoo dot com>
- To: Harold Hunt <huntharo at msu dot edu>
- Cc: cygx <cygwin-xfree at cygwin dot com>
- Date: Fri, 5 Jul 2002 09:38:57 -0700 (PDT)
- Subject: Re: FW: xc/lib/fontconfig/fonts.conf depends on existing fonts installation
Harold,
On ~ line 66158 of my build log, you'll notice this:
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/bdftopcf -t
tech14.bdf | gzip > tech14.pcf.gz
/bin/sh: ../../../exports/bin/bdftopcf: No such file or directory
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/bdftopcf -t
techB14.bdf | gzip > techB14.pcf.gz
/bin/sh: ../../../exports/bin/bdftopcf: No such file or directory
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/bdftopcf -t
term14.bdf | gzip > term14.pcf.gz
/bin/sh: ../../../exports/bin/bdftopcf: No such file or directory
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/bdftopcf -t
termB14.bdf | gzip > termB14.pcf.gz
/bin/sh: ../../../exports/bin/bdftopcf: No such file or directory
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/mkfontdir -x
bdf .
/bin/sh: ../../../exports/bin/mkfontdir: No such file or directory
make[5]: *** [fonts.dir] Error 127
make[5]: Target `all' not remade because of errors.
Let's assume I have followed the directions exactly (because this is what
has happened in the past when I followed them exactly). When
cross-compiling, why is make World trying to use the foreign utilities to
build the fonts? Shouldn't it be using the utilities under
/usr/X11R6/bin? I don't know if this relates to your comments below, but
it is very annoying.
--- Harold Hunt <huntharo@msu.edu> wrote:
> Alan,
>
> Hmm... as usual I misspoke... I was bitching about the ``findfonts''
> script
> which runs on the installed fonts rather than on fonts being built.
>
> I'll have to look into the font build utility problem.
>
> I hate it when I get confused. Anyway, here is what I wrote to the
> XFree86
> devel list.
>
> Harold
>
>
> -----Original Message-----
> From: Harold Hunt
> Sent: Saturday, April 13, 2002 7:44 PM
> To: xf-devel
> Subject: xc/lib/fontconfig/fonts.conf depends on existing fonts
> installation
>
>
> I don't understand why xc/lib/fontconfig/fonts.conf runs the script
> xc/lib/fontconfig/findfonts which looks at the *currently installed
> fonts*.
> That doesn't make any sense to me. Shouldn't you be able to build
> XFree86
> on a machine that doesn't have any fonts installed, or for that matter,
> any
> piece of XFree86 installed?
>
> The problem that I'm running into on Cygwin is that even if
> /usr/X11R6/lib/X11/fonts exits but /usr/share/fonts doesn't exist then
> the
> findfonts script fails because 'find' cannot find that directory. I'm
> not
> certain that this is a Cygwin only problem, but it is the only platform
> that
> I am building on.
>
> I propose that one of two things be done:
>
> 1) Do not execute the scripts that do things for *installed* fonts, as
> this
> makes no sense.
>
> 2) Or, change the findfonts script to silently fail if either of the
> fonts
> directories cannot be found, thus removing a non-error error from build
> logs.
>
>
> Please CC me, as I am not currently subscribed to the devel list.
>
> A snippet of my build log follows.
>
>
> Harold Hunt
>
>
>
>
> make[1]: Leaving directory
> `/home/Administrator/x-devel/build/std/lib/fontconfig
> /fc-list'
> rm -f fonts.conf
> sh ./setfontdirs
> find: /usr/share/fonts: No such file or directory
> ed: not found
> make: *** [fonts.conf] Error 127
>
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com