Compile and install Vim 11.10 and vimgdb in Ubuntu 7.3

Source: Internet
Author: User
Document directory
  • Solve the problem of "pixmap" prompt

Author: mouhua

First install the dependency:

Sudo apt-Get install build-essential
Sudo apt-Get build-dep vim-gnome

Install the vimgdb patch. For details, see readme. RST in the patch.

Vimgdb install
**************
A) you need:
Vim-7.3.tar.bz2 http://www.vim.org/sources.php
Vimgdb-for-vim7.3 (this patch) https://github.com/larrupingpig/vimgdb-for-vim7.3

B) untar all files, apply the patch and make VIM:
Tar xjvf vim-7.3.tar.bz2-C/tmp
Tar xzvf vimgdb-for-vim7.3.tar.gz-C/tmp
CD/tmp
Patch-P0 <vimgdb-for-vim7.3/vim73.patch

C) install vimgdb runtime:

CP-RF/tmp/vimgdb-for-vim7.3/vimgdb_runtime /*~ /. Vim

Finally, modify the settings in vim73/src/makefile,

Conf_args = -- With-modified-by = "Cedric Porter"
Conf_opt_gui = -- enable-Gui = gnome2
Conf_opt_python = -- enable-pythoninterp
Conf_opt_cs1_= -- enable-cs1 _
Conf_opt_gdb = -- enable-GDB
Conf_opt_multibyte = -- enable-multibyte
Conf_opt_input = -- enable-xim
Conf_opt_output = -- enable-fontset
Conf_opt_feat = -- With-features = huge
Conf_opt_compby = "-- with-compiledby = Cedric Porter <cedricporter@gmail.com>"

Compile:

Make & sudo make install

Problem solved: Reprinted from: http://q.pnq.cc/archives/575 thank him very much !!!

Solve the Problem of gvim menu display in Ubuntu 11.04

Gvim menus cannot be displayed immediately when gvim is executed. And an error is reported:

** (Gvim: 15150): Warning **: unable to register window with path '/COM/canonical/menu/100': timeout was reached

The solution is to run:

echo 'alias gvim="env UBUNTU_MENUPROXY=0 gvim"' >> ~/.bashrcsource ~/.bashrc
Solve the computer issue caused by gvim in Ubuntu 11.10

Run:

echo 'alias gvim="gvim -f"' >> ~/.bashrcsource ~/.bashrc
Solve the problem of "pixmap" prompt

If the terminal prompts:

(Gvim: 2353): GTK-warning **: The topic engine "pixmap" cannot be found in the module path ",

The solution is to run:

sudo apt-get install gtk2-engines-pixbuf  


 

Related Article

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.