擅长:python、mysql、java
<p>用Python编译Vim时遇到问题。</p>
<blockquote>
<p>...checking if compile and link flags for Python are sane... no: PYTHON DISABLED" in the ./configure output.</p>
</blockquote>
<p>在Ubuntu 10.04上你必须安装<code>python2.6-dev</code>。<code>./configure</code>的标志是:</p>
<pre><code>--enable-pythoninterp
--with-python-config-dir=/usr/lib/python2.6/config
</code></pre>
<p>确保您有一个指向目录的路径,其中包含<code>config.c</code>文件。在路径的末尾也没有<code>/</code>!这给我带来了麻烦。</p>