这是我遇到的一个奇怪问题-但我已经为此苦苦挣扎了一个多小时,但没有解决方案。我正在尝试配置 vim 构建,但在启用 python 和启用 ruby 参数时不断遇到错误。
这是我正在尝试对相关错误部分执行的操作:
$ ./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 还比较陌生,但尝试了一些不同的东西 - 都无济于事。帮助!
编辑:我正在运行 Mint 14