Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 11:57:34 +0400 (MSD)
From:      Andrew Belashov <bel@orel.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-sparc64@freebsd.org
Subject:   xorg-libraries/sparc64: locale not supported by Xlib
Message-ID:  <200507120757.j6C7vYQE036290@white.orel.ru>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Andrew Belashov
>Organization:	JSC CenterTelecom
>Confidential:	no
>Synopsis:	xorg-libraries/sparc64: locale not supported by Xlib
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 5.4-STABLE sparc64
>Environment:
System: FreeBSD bel.localdomain 5.4-STABLE FreeBSD 5.4-STABLE #27: Thu Jun 9
 15:29:30 MSD 2005 bel@bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64

$ pkg_info|grep xorg-lib
xorg-libraries-6.8.2 X11 libraries and headers from X.Org

$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=

>Description:
	Xorg does not support locales on FreeBSD/sparc64. Clipboard paste
does not work in xterm. No way to type national symbols in xterm.

>How-To-Repeat:

	Run xterm and try copy and paste. Try to type national symbols from
keyboard. Use truss(1) for trace open(2) system calls and determine needed
shared libraries.

$ xterm
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

>Fix:

	Here is workaround. Go to lib/X11/locale/common and make symbolic link
to existing directory with shared libraries:

# cd /usr/X11R6/lib/X11/locale/common
# ln -s ../lib/common sparcv9





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507120757.j6C7vYQE036290>