Xorg miscompiled (was: Re: LFS BootCD - Final!)

Alexander E. Patrakov patrakov at ums.usu.ru
Tue Sep 28 04:55:05 PDT 2004


Jeremy Huntwork wrote:
> Greetings All!
> 
> I've just finished uploading the latest iso, and unless there are any
> major fixes to be done, I'm calling this a final release:
> 
> ftp://ftp.lfs-matrix.de/pub/lfs-boot-cd/lfs-bootcd-6.0.iso

> 6) Alexander, I also went ahead and made the changes you requested,
> including adding the freefont package.  I really do hope this works for
> you, because I think it would be best to call this iso done at this time
> in preparation for the book's printing and the release of 6.0  Please,
> let me know, though, either way.

Xchat now can output localized strings, thanks. However, there are more 
problems.

First, fluxbox mentions "lucidasans" as the default font. That's very 
bad (nothing seen at all) because this font doesn't contain the needed 
characters. Please change all strings "lucidasans" to "freesans" in 
/usr/share/fluxbox/styles/Operation.

Second, you forgot to run mkfontscale and mkfontdir in 
/usr/X11R6/lib/X11/fonts/TTF.

Third, there is a typo in the README. s/ppd/pppd/

Forth, there is no support for old serial mice.

Fifth (the most important), Xorg's support for XKB (needed for input of 
international characters) somehow got miscompiled. The xorg.conf file is 
attached. The extract from strace -f Xorg:

[pid  1957] chdir("/usr/X11R6/lib/X11/xkb") = 0
[pid  1957] open("./xfree86", O_RDONLY) = -1 ENOENT (No such file or 
directory)
[pid  1957] open("./keycodes/xfree86", O_RDONLY) = 0
[pid  1957] open("./aliases", O_RDONLY) = -1 ENOENT (No such file or 
directory)
[pid  1957] open("./keycodes/aliases", O_RDONLY) = 0
[pid  1957] open("./pc", O_RDONLY)      = -1 ENOENT (No such file or 
directory)
[pid  1957] open("./geometry/pc", O_RDONLY) = 0
[pid  1957] open("./complete", O_RDONLY) = -1 ENOENT (No such file or 
directory)[pid  1957] open("./types/complete", O_RDONLY) = 0
[pid  1957] open("./basic", O_RDONLY)   = -1 ENOENT (No such file or 
directory)
[pid  1957] open("./types/basic", O_RDONLY) = 0
[pid  1957] open("./mousekeys", O_RDONLY) = -1 ENOENT (No such file or 
directory)

  and so on. As a result, I can't type Russian characters in X (although 
I can see them in most applications). The files the "xkbcomp" program 
wants to see are really not under /usr/X11R6/lib/X11/xkb, but under 
/usr/X11R6/lib/X11/xkb/rules. Strangely enough, the bug cannot be 
reproduced on Xorg 6.8.1 (from CVS) I compiled some days ago - XKB works 
fine on my working desktop system. Can anyone else reproduce the bug not 
on livecd?

Sixth, please create the directory /var/lib/xkb. Otherwise, the 
/etc/X11/xkb/compiled symlink points to nowhere.

-- 
Alexander E. Patrakov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xorg.conf
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20040928/55d9cfc5/attachment.ksh>


More information about the lfs-dev mailing list