I'm having a hard time building a VIM 7.4(obtained from vim's ftp site) with gui option. It builds ok without the gui
option. Here's how I'm doing it:
cd ~/Downloads/vim74/src
./configure --enable-gui
The above line does not seem to work because I get this output from the command:
./configure --enable-gui | grep gui
checking --enable-gui argument... no GUI support
I uncommented line 352 of the makefile to enable the gui(I think):
CONF_OPT_GUI = --enable-gui=gtk2
But when I run vim -g(after rebuilding) I get:
E25: GUI cannot be used: Not enabled at compile time
There's a suggestion in the makefile to check the generated auto/config.h and
auto/config.mk files but the files are empty(less than 10 lines).
How do you fix this?
aptcommand, it would probably work(haven't tried it). I want a solution for when compiling from its sources. – Plakhoy Sep 14 '13 at 20:30make installor just amake? if the latter, then in order to run the newly-built binary you must specify the path explicitly i.e. if you are in thevim74directory where you issued themakecommand, do./src/vim -g. It should not be necessary to specify any additional options toconfigure, I just tested it and the default configuration produced a GUI-enabled executable. – steeldriver Sep 14 '13 at 21:40./src/vim -gfolder, how'd you do that? Please outline the steps you are using. – Plakhoy Sep 14 '13 at 22:22tar xvf ../Downloads/vim-7.4.tar.bz2 -C ., thencd vim74,./configure,make. You may find it helpful to use./configure --helpto see the available configuration options. In particular, the--enable-guioption needs an=OPTargument (and it appears to default to--enable-gui=auto) – steeldriver Sep 14 '13 at 22:40--enable-gui=gtk2and--enable-gui=gnome2but it still outputsno GUI support. What do you have for the line that starts withchecking --enable-gui argument? – Plakhoy Sep 14 '13 at 23:50apt. I'm guessing theno GUI supportis because I'm missing some libraries or something. – Plakhoy Sep 15 '13 at 08:02