Solution to slow source + wine installation using wine in source insight + Ubuntu 10.04 in Linux

Source: Internet
Author: User
Use wine to install source insight + Ubuntu 10.04 in Linux  
From: http://bbs.ednchina.com/BLOG_ARTICLE_2097734.HTM  


Source insight in Linux

Http://rogerer.javaeye.com/blog/755346

On the Internet, I saw a friend write an article recommending the Linux code reading tool source insight. I want to make more details and take notes for future use.

The method is: Source insight Installation File in wine + windows.

 

Environment: Ubuntu 9.10.

Dependency package: Flex <-M4, Bison

 

Because it is not easy to access the Internet. Therefore, you need to download it from a virtual machine in the book that can access the Internet. I use apt-get to download. To avoid errors, install and test them manually on the Virtual Machine (dpkg.

  1. Download the dependency package and follow
  2. Download the wine topic package

Here, we must say that when using the source code for installation, wine reports an "X development" error. Someone on the Internet said it was dependent. Therefore, I also use apt-get to get second-level packages.

 

Maybe the method is not clearly written here. I just installed it with APT-Get! If you can access the Internet, execute the following command.

Shell code
  1. Sudo apt-Get install flex bison
  2. Sudo apt-Get install wine

3. Install sourceinsight

Run the following command:

 

Shell code
  1. Wine si3563setup.exe

 

Next we will install it like a Windows program.

 

4. usage instructions

How do you know source insight? : Applications -- "other contains available programs.

In the attachment, It is my current dependent package. Wine is not included because it exceeds 10 MB.

Of course, the source insight installer with a serial number is not enough!

 

For reference only. Leave a message if you have any questions!

 

Flex.tar.gz (242.8 KB)
M4.tar.gz (235 KB)
Bison.tar.gz (253 KB)
Source_insight_3.5.rar (3.1 MB)

 

 

 

I. Install wine in Ubuntu
$ Sudo apt-Get install wine
Note: If the installation fails, add the following sources:
{{
Deb http://cz.archive.Ubuntu. com/Ubuntu lucid main universe
}}
This is the source of ubuntu 10.04. The wine version is 1.1.42, which supports Chinese characters very well.

 

2. Copy source insight to the XP shared folder


Install source insight


$ Wine insightsetup.exe
Note: the installation is the same as that for Windows.

 

First install wine

Apt-Get install wine

Wine will~ /. Wine/driver_cUsed as a drive C.

You can use winecfg to virtualize common working directories into windows drive letters.

 

Install source insight:

Wine insightsetup.exe will open the Installation Wizard and follow the Wizard to install it.

After installation, you can create a new script to quickly start source insight: wine "C: \ Program Files \ source insight 3 \ insight3.exe"

 

Note:

Slow wine speed Solution
1. The wine client and server use the traditional Client Communication Mode. However, iptables does not seem to have opened the communication channel of the local program.
Run: iptables-I input-s 127.0.0.1-J accept

2. Slow wine speed is a problem with locale. You are using locale of utf8. When wine is started, first look for the font, because it does not contain utf8 font (this is also related to the wine font Program), so it will find the font that matches other locale one by one, so slow.
The solution is to run "env lang = en_us wine your_program" or "env lang = zh_cn wine your_program.
You can also add alias wine = 'env lang = en_us wine' to your ~ /. Bashrc.

3. Modify/usr/share/X11/locale/zh_CN.UTF-8/xlc_locale,
Delete all segments with GBK characters.

 

Refer:

Http://blog.chinaunix.net/space.php? Uid = 9950859 & Do = Blog & cuid = 1766912

Http://www.cublog.cn/u3/105675/showart_2144086.html

Http://www.winehq.org/

Http://blog.csdn.net/guo_wangwei/archive/2007/05/22/1620353.asp
X

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.