Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121447 - Xlib doesn't support any locales after modular X install.
Summary: Xlib doesn't support any locales after modular X install.
Status: RESOLVED DUPLICATE of bug 13996
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-02-03 09:22 UTC by Carl Michal
Modified: 2006-02-07 12:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,2.15 KB, text/plain)
2006-02-03 09:46 UTC, Carl Michal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Michal 2006-02-03 09:22:16 UTC
After installing xorg-x11-7.0-r1, every time an X app is started from the command line,  the following messages appear on the terminal:

Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Info: Using render cleanup parameters 8/20/23/24/25/26.
Info: Using image cleanup parameters 0/0/0/0.

LANG=C xterm &
produces the exact same set of messages.

All the locale stuff is installed by libX11 in /usr/lib/X11
making a symlink to /usr/share/X11/locale doesn't help.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-03 09:28:38 UTC
Can you provide `emerge info`?

Hm, works alright for me.

donnie@supernova ~ $ LANG=C xterm &
[1] 12222
donnie@supernova ~ $ xterm &
[2] 13113
[1]   Done                    LANG=C xterm
donnie@supernova ~ $
Comment 2 Carl Michal 2006-02-03 09:46:21 UTC
Created attachment 78814 [details]
emerge --info

emerge --info attached
Comment 3 Carl Michal 2006-02-03 22:16:11 UTC
On an xorg-6.8.2 machine, there is a directory:
/usr/lib/X11/locale/lib/common/

with some libraries:
xlibi18n.so.2
xlocale.so.2
ximcp.so.2
xlcUTF8Load.so.2
xlcDef.so.2
xomGeneric.so.2

These files don't exist on my 7.0 install.  It looks like the flag --enable-loadable-i18n needs to be passed to the configure script in libX11 to force these libraries to be built.

Recompiling with that flag solves the locale errors (and actually resolves a few other less obvious bugs, eg with unison (115376) and one with javaws I hadn't filed yet, and maybe others?).

Any idea about the render cleanup parameter and image cleanup parameters messages?  Those are still there.  

Comment 4 Carl Michal 2006-02-07 12:12:15 UTC
This turns out to be a duplicate of 13996.  The NX X libraries were looking for the i18n libraries.  If nx-x11 is uninstalled, the --enable-loadable-i18n flag should not be passed to libX11's configure script.

The image cleanup parameters messages were also coming from NX's X libraries.



*** This bug has been marked as a duplicate of 13996 ***