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?