Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2393 closed defect (fixed)

blfs: luit: need one more step: ln -sv /usr/share/X11/locale /usr/lib/X11/locale

Reported by: pdfan Owned by: dnicholson@…
Priority: normal Milestone: 6.3
Component: BOOK Version: SVN
Severity: normal Keywords: luit, xterm, locale
Cc:

Description

man luit: .......... FILES /usr/lib/X11/fonts/encodings/encodings.dir The system-wide encodings directory. /usr/lib/X11/locale/locale.alias The file mapping locales to locale encodings. ........... following the present blfs book, there's none of these FILES available for luit, and when set LANG=zh_CN, xterm will complain: "Warning: couldn't find charset data for locale zh_CN; using ISO 8859-1". after the link being added, no complain.

Change History (3)

comment:1 by dnicholson@…, 14 years ago

Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

Yeah, this looks like it's been broken for a long time. Instead of adding the symlink, try rebuilding luit with the option --libdir=$XORG_PREFIX/share. There's also an option --with-localealiasfile, but the problem here is just that libX11 puts all the locale stuff in $datadir and not $libdir. I'll see if I can get that fixed.

comment:2 by dnicholson@…, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7128 with the --with-localealiasfile switch to make it real explicit.

comment:3 by dnicholson@…, 14 years ago

Just to note, this is fixed upstream, so if luit ever gets a new release, this can be removed.

Note: See TracTickets for help on using tickets.