1

我在 vim Makefile 中没有看到“netbeans_intg”,但我确实看到我可以使用该功能配置 vim,+netbeans_intg如此所述。我看到这个功能不包含在巨大的功能安装中。netbeans 功能的文档说,“当运行不带参数的配置时,应该包含 NetBeans 接口。”,但vim --version显示的输出-netbeans-intg

./configure --help

节目

--enable-FEATURE[=ARG]  include FEATURE [ARG=yes]

./configure --enable-netbeans_intg=yes

印刷

configure: WARNING: unrecognized options: --enable-netbeans_intg
configure: loading cache auto/config.cache
configure: error: `CC' was set to `' in the previous run
configure: error: `CFLAGS' was set to `' in the previous run
configure: error: `LDFLAGS' was set to `' in the previous run
configure: error: `CPPFLAGS' was set to `' in the previous run
configure: error: in `/home/ros/vim/src':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
4

1 回答 1

1

为什么要这个功能?

跳转/netbeanssrc/Makefile本段:

# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
# Motif version must have XPM libraries (see |workshop-xpm|).
# Uncomment this when you do not want the netbeans interface.
#CONF_OPT_NETBEANS = --disable-netbeans

如果您使用 GUI 编译 Vim,听起来 netbeans 接口会自动编译。这让我们回到我的第一个问题。而对于这一点:如果一个简单的程序能给你带来你想要的,你为什么要手动编译 Vim $ sudo apt-get install vim-gnome

于 2013-03-10T18:19:18.847 回答