Ubuntu 8.04 Install insight

本文提供在Ubuntu8.04系统中安装Insight调试工具的详细步骤,包括从源码包下载到最终运行的具体指令,并解决安装过程中可能遇到的错误,如tk3d.c编译错误及缺少termcap库的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ubuntu 8.04 Install insight

1,Download package from http://sourceware.org/insight/downloads.php
2,untar it to user folder,like /home/me/insight
3,cd /home/me/insight folder, run:

a,./configure
b,make
c,make install

4,if everything's ok,just run "insight" command for start insight.
or run "insight ./foo" for debug your app.

5,You may meet follow errors, here give you some advises.
a,error:
When you "make", the follow errors:
/root/tk8.4.16/unix/../generic/tk3d.c:1279: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.4.16/unix/../generic/tk3d.c:1280: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.4.16/unix/../generic/tk3d.c:1280: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/root/tk8.4.16/unix/../generic/tk3d.c:1280: error: ‘TkBorder’ has no member named ‘screen’
/root/tk8.4.16/unix/../generic/tk3d.c:1281: error: ‘Tk_FakeWin’ has no member named ‘atts’
/root/tk8.4.16/unix/../generic/tk3d.c:1281: error: ‘TkBorder’ has no member named ‘colormap’
/root/tk8.4.16/unix/../generic/tk3d.c:1301: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.4.16/unix/../generic/tk3d.c:1301: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.4.16/unix/../generic/tk3d.c:1306: error: ‘TkBorder’ has no member named ‘nextPtr’

resolve:
You need install this:
sudo apt-get install libx11-dev

b,error:
When you "make", the follow error:
error: no termcap library found

resolve:
You need install ncurses:
apt-get install libncurses5-dev
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值