Tom Asked: 2012-05-07 08:50:06 +0800 CST2012-05-07 08:50:06 +0800 CST 2012-05-07 08:50:06 +0800 CST How do I compile the latest gvim from source 772 I have found that I need to compile the lastest gvim due to a bug I have reported, but how do I proceed? vim gvim 1 Answers Voted Best Answer mjr 2012-05-07T09:10:05+08:002012-05-07T09:10:05+08:00 Run the following commands in the terminal. sudo apt-get build-dep vim-gnome to get all the build dependencies you need. Then sudo apt-get install mercurial to get the Mercurial version control system needed to download the latest Vim source code. Then hg clone https://vim.googlecode.com/hg/ vim to download the Vim source code to the subdirectory vim of the current directory. cd vim/src to change to the right directory Now let's configure Vim for compilation (with "huge" features - see http://www.drchip.org/astronaut/vim/vimfeat.html for a description of the different feature sets) ./configure --prefix=/usr/local --with-features=huge If ./configure finished without any problems, then run make and then sudo make install and that should be it. To update Vim to the latest version, just go into the vim directory and run hg pull hg update and then re-run configure, make and make install.
Run the following commands in the terminal.
to get all the build dependencies you need. Then
to get the Mercurial version control system needed to download the latest Vim source code. Then
to download the Vim source code to the subdirectory
vim
of the current directory.to change to the right directory
Now let's configure Vim for compilation (with "huge" features - see http://www.drchip.org/astronaut/vim/vimfeat.html for a description of the different feature sets)
If
./configure
finished without any problems, then runand then
and that should be it.
To update Vim to the latest version, just go into the
vim
directory and runand then re-run
configure
,make
andmake install
.