Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I compile gVim under Ubuntu?

I am trying to install the codecheck plugin for gVim, but to do so I must compile gVim with the plugin.

On apt, every apt-get source to a gVim package downloads the normal Vim source, so I guess compiling the GUI must be a configure option. However, I can install the plugin on Vim but I can't compile gVim (since when I make there appears no gVim executable).

Any help compiling gVim?

like image 348
Martín Fixman Avatar asked Jul 23 '10 02:07

Martín Fixman


2 Answers

I'm pretty sure you can just add --enable-gui=gtk2 when configureing. At least, that's how I remember doing it.

like image 177
rossipedia Avatar answered Nov 30 '22 20:11

rossipedia


  1. apt-get build-dep vim to install the build dependencies for Vim.
  2. Read src/INSTALL, as explained in the README.txt in the top-level directory of the source, to see how to configure and compile it.
like image 44
jamessan Avatar answered Nov 30 '22 18:11

jamessan