如何使用netbeans_intg创建vim?

时间:2013-03-10 17:25:14

标签: vim

我没有在vim Makefile中看到“netbeans_intg”,但我确实看到我可以使用功能+netbeans_intg配置vim,如文档here所述。我看到这个功能不包含在巨大的功能安装中。 netbeans功能的文档说,“当运行不带参数的configure时,应该包含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

1 个答案:

答案 0 :(得分:1)

为什么要这个功能?

/netbeans中执行src/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接口。这让我们回到了第一个问题。对于这一个:如果一个简单的$ sudo apt-get install vim-gnome可以带给你你想要的东西,你为什么要手动编译Vim?