Welcome 微信登录

首页 / 操作系统 / Linux / CentOS (redhat)安装snavigator

1)到官方网站获取软件包
http://sourceforge.net/project/showfiles.php?group_id=511802)解压缩
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 ‘DrawableLinux设备驱动的分层设计思想Fedora sudo 指令补全扩展bash-completion相关资讯      redhat  CentOS 
  • 为什么像 RedHat 那样的开源旗手很  (12/23/2014 07:50:53)
  • CentOS虚拟机NAT静态IP设置  (07/04/2013 17:09:32)
  • CentOS 格式化新硬盘并设置开机自  (07/04/2013 16:50:50)
  • RedHat Linux 用户登录认证失败  (06/24/2014 19:56:55)
  • CentOS /usr/libexec/gconf-sanity  (07/04/2013 17:07:42)
  • 为什么我们选择CentOS而不是Debian  (06/06/2013 06:19:40)
本文评论 查看全部评论 (0)
表情: 姓名: 字数