歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux教程

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

Copyright © Linux教程網 All Rights Reserved