Install source-navigator and user manual in Ubuntu)

Source: Internet
Author: User
Keywords: Ubuntu sourcenavigator make anti-ship technology install source-navigator in Ubuntu and User Manual

From: http://hi.baidu.com/xiaohu_tiger/blog/item/66d207888431d6b40f2444ec.html

1. Install the SDK through apt-Get (earlier version)
Installation command: sudo apt-Get install sourcenav
Start command: snavigator

2. Manually install the latest version.
1) obtain the software package from the official website.
Http://sourceforge.net/project/showfiles.php? Group_id = 51180
2) Extract
Tar zxvf s ourcenav-6.0.tar.gz
./Configure -- prefix =/opt/sourcenav (recommended parameters of the install file)
Make
Make install
PS: In case of permission issues, add sudo
3) if you encounter the following 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'
......
In the terminal, enter: sudo apt-Get install libx11-dev
4) Start snavigator
Enter snavigator directly on the terminal
5) User Manual)
Http://sourcenav.sourceforge.net/online-docs/userguide/index_ug.html
There is also a post comparing source insight and source Navigator:
Http://fky168.blog.163.com/blog/static/3786097200831033957620/

========================================================== ======================
Running source Navigator
Method 1 (reproduced)
Prompt for running snavigator after installation is complete
[Root @ magiclinux Co., sourcenav-6.0] # snavigator
Can't find a usable Tk. TCL in the following directories:
/Usr/local/share/tk8.3

/Usr/local/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 "/usr/local/share/tk8.3/ListBox. TCL" line 182)
Invoked from
"Source"
Invoked from
"If {[String compare $ tcl_platform (Platform)" Macintosh "] &/
[String compare {}$ tk_library]} {
Source
So ..."
(File "/usr/local/share/tk8.3/Tk. TCL" line 30
Invoked from
"Source/usr/local/share/tk8.3/Tk. TCL"
("Uplevel" body line 1)
Invoked from
"Uplevel/#0 [list source $ file]"

This probably means that TK wasn' t installed properly.

If you do not know why, it is invalid to reinstall tk8.3 and upgrade to tk8.5.

Later, we found on the internet that we needed to patch the downloaded source-Navigator 6.0.
To http://bugs.gentoo.org/show_bug.cgi? Id = 225999 find tk-8.4-lastevent.patch patch
Paste the patch to the source navigator source code directory under the sourcenav-6.0/tk directory, and then CD to the sourcenav-6.0/tk source code directory
Patch-P0-I tk-8.4-lastevent.patch
Delete the installation and reinstall it. You can run it (I tried it ).

Method 2 (reproduced)
Find the solution:
(Http://forums.fedoraforum.org/showthread.php? T = 213441)
Remove lines 182-184 in the file/opt/sourcenav/share/tk8.3/ListBox. TCL
Remove lines 457-459 in the file/opt/sourcenav/share/tk8.3/text. TCL

Add launcher to the Panel and add/opt/sourcenav/bin/snavigator to the command.

===== Method for adding a on the desktop after installing the security software ======
The goal of my project is/opt/sourcenav/bin/snavigator (this is a sh script)
Change the line
# Snbindir = 'dirname $0'
Snbindir =/opt/sourcenav/bin
In this case, you can create a new desktop:
Ln-S/opt/sourcenav/bin/snavigator ~ /Desktop/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.