How can I compile gVim under Ubuntu?
-
27-09-2020 - |
Frage
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?
Lösung
I'm pretty sure you can just add --enable-gui=gtk2
when configure
ing. At least, that's how I remember doing it.
Andere Tipps
apt-get build-dep vim
to install the build dependencies for Vim.- Read
src/INSTALL
, as explained in theREADME.txt
in the top-level directory of the source, to see how to configure and compile it.
After you've got your dependencies installed and you can't find the gvim executable, then try vim -g
from the terminal - that's the flag for starting in GUI mode. It's always worth a shot.
It seems this is a more updated version: http://vim.wikia.com/wiki/Building_Vim