2016年7月15日 星期五

CentOS locale path different on 4.x and 5.x

有個軟體在 CentOS 4.x 執行正常,但是在 CentOS 5.x 會有錯誤訊息:
locale not supported by xlib locale set to c
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:            ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine:           ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:                        ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:    ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors

Workaround:
1. 在 CentOS 5.x 建立目錄 /usr/X11R6/lib
2. 在目錄內建立 link,指令 ln -s /usr/share/X11 X11

Reference:
http://parallelgeo.com/download/spw2linux/currentrelease/ReadMe_for_recent_Linux_distributions.txt

沒有留言:

張貼留言