解决Amsn与系统xim服务冲突问题
需要 重新对系统中的 tcl 和tk 进行重新编译下载新源码以后。。编辑generic目录下的tkInt.h头文件,在顶部加入如下代码:
#ifndef TK_USE_INPUT_METHODS
#define TK_USE_INPUT_METHODS
#endif
#ifndef TK_XIM_SPOT
#define TK_XIM_SPOT 1
#endif
然后重新编译tcl tk
tcl:tar zxvf tcl*.tar.gz
cdtcl*/unix
./configure --prefix=/usr
make
make install
ln -s /usr/bin/tclsh8.5 /usr/bin/tclsh
tk:
tar zxvf tk*
cd tk*/unix
./configure --with-tcl=/usr/lib
make
make install
ln -s /usr/bin/wish8.5 /usr/bin/wish
一切ok以后。。。就可以对amsn重新编译安装了 补充一点amsn不支持gb系列的编码
所以 还需要系统locale为utf8
页:
[1]