Try adding
--enable-gui=gtk3
to your configure arguments. This ought to build a GUI-enabled Vim
that can also be used in Console mode when started as vim rather than
gvim.
I also recommend not to run configure separately, as in some
circumstances a plain "make" will start by invoking configure with
whatever parameters it finds in the environment (or the defaults if
none), but to set configure arguments in the environment, so they will
be set correctly even if make reconfigures your Vim build. Here is an
example (for the bash shell):
export CONF_OPT_GUI='--enable-gui=gtk3'
export CONF_OPT_PERL='--enable-perlinterp'
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_PYTHON3='--disable-python3interp'
export CONF_OPT_TCL='--enable-tclinterp'
export CONF_OPT_RUBY='--enable-rubyinterp'
export CONF_OPT_LUA='--enable-luainterp'
export CONF_OPT_MZSCHEME='--disable-mzschemeinterp'
export CONF_OPT_CSCOPE='--enable-cscope'
export CONF_OPT_TERMINAL='--enable-terminal'
export CONF_OPT_AUTOSERVE='--enable-autoservername'
export CONF_OPT_FEAT='--with-features=huge'
export CONF_OPT_COMPBY='"--with-compiledby=
antoine.m...@gmail.com"'
If written as a script, this must be sourced, not executed, by bash so
that the values remain in the environment after bash has read them.
If you decide to use this, you will need to change at least the last
line and possibly add, change or remove others depending on your
preferred configuration. The names of the environment variables used
by Vim make and their possible values can be found in the src/Makefile
at lines 207 to 640.
Best regards,
Tony.