Linux Mint 19上的`mcu8051ide`无法正常工作或打开 [英] `mcu8051ide` on Linux mint 19 not working or opening

查看:92
本文介绍了Linux Mint 19上的`mcu8051ide`无法正常工作或打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

mcu8051ide 无法正常工作或无法打开,所有依赖项都已安装,但是当我检查库时,itcl不存在是错误.

mcu8051ide on Linux mint 19 not working or opening, all dependencies are installed but when I check libraries, itcl is not present is the error.

我很困惑该怎么办?

推荐答案

我在虚拟机中安装了Linux mint 19,以查看发生了什么情况.

I installed Linux mint 19 in a virtual machine to check out what's going on.

Itcl 3.4 pkgIndex.tcl文件具有以下内容:

The Itcl 3.4 pkgIndex.tcl file has the following contents:

# Tcl package index file, version 1.0

if {![package vsatisfies [package provide Tcl] 8.6]} {return}
package ifneeded Itcl 3.4 [list load [file join /usr lib x86_64-linux-gnu "libitcl3.4.so.1"] Itcl]

这意味着Itcl仅在Tcl 8.6中可用.但是,mcu8051ide专门启动tclsh8.5.这就是它找不到Itcl的原因.

This means that Itcl will only be available with Tcl 8.6. However, mcu8051ide specifically starts tclsh8.5. That's the reason it can't find Itcl.

mcu8051ide命令是一个非常简短的shell脚本,仅启动tclsh8.5并传递/usr/share/mcu8051ide/lib/main.tcl作为要运行的脚本.相反,如果您使用tclsh(指向tclsh8.6的符号链接)运行该脚本,则乍一看似乎可以正常工作.

The mcu8051ide command is a very short shell script that only starts tclsh8.5 and passes /usr/share/mcu8051ide/lib/main.tcl as the script to run. If instead you run that script with tclsh (which is a symbolic link that points to tclsh8.6), it seems to work at first glance.

因此,您可以修改原始的启动脚本,也可以将修改后的副本放在自己的bin目录中.

So, you can either modify the original startup script, or put a modified copy in your own bin directory.

这篇关于Linux Mint 19上的`mcu8051ide`无法正常工作或打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆