QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1566|回复: 1

解决Amsn与系统xim服务冲突问题

[复制链接]
发表于 2006-8-10 21:58:05 | 显示全部楼层 |阅读模式
需要 重新对系统中的 tcl 和tk 进行重新编译

下载新源码以后。。编辑generic目录下的tkInt.h头文件,在顶部加入如下代码:
[code:1]#ifndef TK_USE_INPUT_METHODS
#define TK_USE_INPUT_METHODS
#endif

#ifndef TK_XIM_SPOT
#define TK_XIM_SPOT 1
#endif[/code:1]

然后  重新编译tcl tk
[code:1]tcl:tar zxvf tcl*.tar.gz
     cd  tcl*/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[/code:1]

一切ok以后。。。就可以对amsn重新编译安装了
 楼主| 发表于 2006-8-11 15:34:00 | 显示全部楼层
补充一点  amsn不支持gb系列的编码
所以 还需要系统locale为utf8
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-9 04:43 , Processed in 0.061537 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表