Ubuntu安装insight6.8过程记录。
下载地址:ftp://sourceware.org/pub/insight/releases
apt-get install libx11-dev
./configure –target=arm-linux -prefix=/opt/kangear/insight_arm –disable-werror
make install
gedit /opt/kangear/insight_arm/share/tk8.4/listbox.tcl 註掉 lines 182-184
#bind Listbox <MouseWheel> {
# %W yview scroll [expr {- (%D / 120) * 4}] units
#}
gedit /opt/kangear/insight_arm/share/tk8.4/text.tcl 註掉 lines 461-463
#bind Text <MouseWheel> {
# %W yview scroll [expr {- (%D / 120) * 4}] units
#}
./opt/kangear/insight_arm/bin/arm-linux-insight
Tk_Init failed: Can’t find a usable tk.tcl in the following directories解决办法
注掉 lines 182-184 in the file /opt/sourcenav/share/tk8.3/listbox.tcl
注掉 lines 457-459 in the file /opt/sourcenav/share/tk8.3/text.tcl
参考文章:搭建JLink+Insight在Linux环境下的ARM调试环境 http://www.linuxidc.com/Linux/2013-03/80390.htm
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2