這是一個奇怪的問題 - 但我一直在摔跤超過一個小時沒有解決方案。我正在嘗試配置一個vim構建版本,但是使用啓用python並啓用ruby參數時仍然遇到錯誤。無法用Ruby和Python支持構建Vim
這裏是我想要做的相關的錯誤部分:
$ ./configure --prefix=/usr/local --with-features=huge --enable-pythoninterp --enable-rubyinterp
...
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... (cached) /usr/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... not found; disabling Ruby
...
checking --enable-pythoninterp argument... yes
checking for python2... (cached) /usr/bin/python2
checking Python version... (cached) 2.7
checking Python is 1.4 or better... yep
checking Python's install prefix... (cached) /usr
checking Python's execution prefix... (cached) /usr
(cached) checking Python's configuration directory... (cached)
can't find it!
...
我完全難倒了,我是比較新的Linux,但嘗試了一些不同的事情 - 一切都是徒勞。幫幫我!
編輯:我跑薄荷14
你的發行版是否有一個python-dev或類似的命名包?嘗試安裝它。 –
你使用哪種Linux發行版?在基於Debian的系統上,'sudo apt-get build-dep vim-gnome'應該安裝所有必要的依賴關係。 –
我試過了'sudo apt-get build-dep vim'和'vim-gnome',後者是'Picking \'vim''作爲源包而不是'vim-gnome \',然後去'E:無法找到vim的源代碼包' – Xiv