2013-03-10 84 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