我已经从源代码构建了 vim 7.3。但是,如果我尝试启动 vim -g(或 gvim),我会收到错误 E25: GUI cannot be used: Not enabled at compile time'
这些是我对 Makefile 所做的更改:
CONF_OPT_PERL = --enable-perlinterp=dynamic
CONF_OPT_PYTHON = --enable-pythoninterp
CONF_OPT_PYTHON3 = --enable-python3interp
CONF_OPT_CSCOPE = --enable-cscope
CONF_OPT_ACL = --disable-acl
CONF_OPT_GPM = --disable-gpm
CONF_OPT_SYSMOUSE = --disable-sysmouse
CONF_OPT_FEAT = --with-features=normal
prefix = $(HOME)