2013-03-10 90 views
1

我没有在vim Makefile中看到“netbeans_intg”,但是我确实看到我可以配置+netbeans_intg的功能,如文档here所述。我发现这个功能并未包含在巨大的功能安装中。 netbeans功能的文档中提到:“运行不带参数的configure时,应该包含NetBeans界面”,但vim --version的输出显示为-netbeans-intg如何使用netbeans_intg制作vim?

./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

你为什么要这个功能?

/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可以给你带来你想要的东西?

+0

'./configure --with-features = huge --enable-gui = gtk2' working – 2013-03-10 20:37:12