感谢支持
我们一直在努力

CentOS (redhat)安装snavigator

1)到官方网站获取软件包
http://sourceforge.net/project/showfiles.php?group_id=51180


2)解压缩
tar zxvf s ourcenav-6.0.tar.gz
./configure –prefix=/opt/sourcenav (install 文件推荐参数)


yum install libX11-devel.i386 -y
make
make install


如果出现如下问题,就是用yum install libX11-devel.i386 -y


/share/sourcenav-6.0/tk/unix/../generic/tk.h:585: error: expected specifier-qualifier-list before ‘Bool’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:601: error: expected specifier-qualifier-list before ‘Bool’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:661: error: expected specifier-qualifier-list before ‘Display’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:789: error: expected declaration specifiers or ‘…’ before ‘XPoint’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:890: error: expected declaration specifiers or ‘…’ before ‘Display’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:892: error: expected declaration specifiers or ‘…’ before ‘Display’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:892: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:989: error: expected specifier-qualifier-list before ‘XColor’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1053: error: expected specifier-qualifier-list before ‘GC’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1094: error: expected declaration specifiers or ‘…’ before ‘Display’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1094: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1097: error: expected declaration specifiers or ‘…’ before ‘Display’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1340: error: expected declaration specifiers or ‘…’ before ‘XErrorEvent’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1342: error: expected declaration specifiers or ‘…’ before ‘XEvent’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1344: error: expected declaration specifiers or ‘…’ before ‘XEvent’
/share/sourcenav-6.0/tk/unix/../generic/tk.h:1349: error: expected declaration specifiers or ‘…’ before ‘XEvent’
In file included from /share/sourcenav-6.0/tk/unix/../generic/tk.h:1363,
from /share/sourcenav-6.0/tk/unix/../generic/tkInt.h:21,
from /share/sourcenav-6.0/tk/unix/../generic/tk3d.h:18,
from /share/sourcenav-6.0/tk/unix/../generic/tk3d.c:16:
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:42: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:47: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:55: error: expected declaration specifiers or ‘…’ before ‘XEvent’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:75: error: expected declaration specifiers or ‘…’ before ‘Pixmap’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:79: error: expected declaration specifiers or ‘…’ before ‘XColor’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:89: error: expected declaration specifiers or ‘…’ before ‘Pixmap’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:94: error: expected declaration specifiers or ‘…’ before ‘GC’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:113: error: expected declaration specifiers or ‘…’ before ‘XSetWindowAttributes’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:121: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:124: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:124: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:144: error: expected declaration specifiers or ‘…’ before ‘XWindowChanges’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:164: error: expected ‘)’ before ‘*’ token
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:184: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:184: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:184: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:228: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:228: error: expected declaration specifiers or ‘…’ before ‘Atom’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:238: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:238: error: expected declaration specifiers or ‘…’ before ‘XPoint’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:243: error: expected declaration specifiers or ‘…’ before ‘Drawable’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:248: error: expected ‘)’ before ‘*’ token
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:253: error: expected declaration specifiers or ‘…’ before ‘GC’
/share/sourcenav-6.0/tk/unix/../generic/tkDecls.h:253: error: expected declaration specifiers or ‘…’ before ‘Drawable

赞(0) 打赏
转载请注明出处:服务器评测 » CentOS (redhat)安装snavigator
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏