Fedora Linux 下安装 source navigator 的 bug shoot!
安装后
运行snavigator
出现
Can't find a usable tk.tcl in the following directories:
/opt/sourcenav/share/tk8.3
/opt/sourcenav/share/tk8.3/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
(file "/opt/sourcenav/share/tk8.3/listbox.tcl" line 182)
invoked from within
"source [file join $tk_library listbox.tcl]"
invoked from within
"if {[string compare $tcl_platform(platform) "macintosh"] && \
[string compare {} $tk_library]} {
source [file join $tk_library button.tcl]
so..."
(file "/opt/sourcenav/share/tk8.3/tk.tcl" line 308)
invoked from within
"source /opt/sourcenav/share/tk8.3/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel \#0[list source $file]"
This probably means that tk wasn't installed properly.
解决方法
comment out lines 182-184 in the file /opt/sourcenav/share/tk8.3/listbox.tcl
comment out lines 457-459 in the file /opt/sourcenav/share/tk8.3/text.tcl
ps:
这个软件太爽了~用来看ns源码真实太方便了,太方便了 哈哈
这个软件让我第一次真正感觉到Linux的强大~(因为windows下这种软件是付费的..)
相关文档:
某外企面试linux开发职位面试题:
给出如下C程序,在linux下使用gcc编译:
#include "stdio.h"
#include "sys/types.h"
#include "unistd.h"
int main(void)
{
pid_t pid1;
pid_t pid2;
pid1 = fork();
pid2 = fork();
printf("pid1:%d, pid2:%d\n", pid1, pid2);
}
  ......
安装完成以后,应该马上采取哪些措施来增强服务器的安全性。对于其他的Linux发布或者版本,这些方法也是适用的。
一、关闭不必要的服务
Linux的服务分为两种,一种是由inetd超级服务器来启动的,如:ftp、telnet等;对于这些服务来说,系统并不总是运行telnetd、 ftpd等服务进程,而是由inetd进程监听这些服务的服务端口 ......
Linux 内核 最流行的开源操作系统内核
Linux 内核组成
Linux 剖析系列
内核配置及编译
性能调试
Linux 内核开发与测试
内核 2.4 与 2.6 比较
内核其他文章
Linux 内核是一个庞大而复杂的操作系统的核心,不过尽管庞大,但是却采用 ......
首先,配置RedBoot的IP及其tftp服务器IP,装好tftp服务器,需要下载的内核及内存镜象应放在服务器的/tftpboot目录下
配置RedBoot的指令是
> fconfig
注意:启动的延时不要设为0,否则以后就很难再更改系统了
然后要执行flash存储器的初始化工作:
> fis init
之后,将kernel与ramdisk.gz通过tftp下载至内存并写 ......
来源:cnbeta 作者:cnbeta 2008-10-31 出处:pcdog.com
我不知道为什么“只有0.10068%的Linux内核开发者领薪水”这种稀里糊涂的想法流传不息,但它确实在流传.所以,我只想一劳永逸地说,就绝大部分而言,Linux是由一些主要的美国公司雇用的软件工程师 ......