LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 683|回复: 4

Mandrake 9.2下面的tcl无法工作呀。

[复制链接]
发表于 2003-10-27 12:27:03 | 显示全部楼层 |阅读模式
Mandrake 9.2里面的tcl-8.4.2-1mdk无法工作呀
不知道是不是locale的问题,
有没有人搞定了,介绍以下经验。

Error: Can't find a usable init.tcl in the following directories:
/usr/lib/tcl8.4 /后面是一堆乱码
This probably means that Tcl wasn't installed properly.

    while executing
"error $msg"
    (procedure "tclInit" line 42)
    invoked from within
"tclInit"
    while
initializing application (Tcl_AppInit?)
 楼主| 发表于 2003-10-27 18:59:28 | 显示全部楼层

难道大家没有遇到

我的是无论如何都不能搞定,
在profile里面添加env, export TCL_LIBRARY=/usr/lib/tcl8.4
也不行,还是报错,真的是一点办法都没有,
现在所有的使用tcl的程序都无法使用。
发表于 2004-11-1 10:56:51 | 显示全部楼层

我很想知道,因为现在要用。

我系统的LC_CTYPE=zh_CN
错误现象与楼主相同。
运行 tclsh 是一堆#?#?#?#?#?usr/lib/tcl8#?#?#?#?lib/tcl8#?#?#?#?usr/librar#?#?#?librar#?#?#?tcl8#?4.2/librar#?#?#?usr/lib/tcl8#?#?#?#?#?(R#?#?#?#?#?@P#?#?@m#?#?#?#?@P#?#?#?(,#?#?@P#?#?#?#?!l(,#?#?#?#?#?

望赐教!
 楼主| 发表于 2004-11-1 19:06:07 | 显示全部楼层
zslevin你好,

     当时我用9.2mdk时没有找到好的解决方法。 后来进行了一些尝试:
     1.  
  1. $LC_CTYPE=en tclsh 这个也许不是想要的。
复制代码

     2. 升级到高版本的tcl
发表于 2004-11-2 09:23:23 | 显示全部楼层

It works! Thank you!

太好了,可以工作了。

请问,8.4.7 版本支持中文输入吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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