Compile Vim on Ubuntu with Python support

Source: Internet
Author: User

Ubuntu10.05 has been tossing for the past two days. It shows that wubi is unresponsive, and then grub errors occur during hard disk installation. After the installation is successful, it will take half a day to get a Chinese input method. It is still easy to use Pinyin. I think sogou has no word library. The most disgusting problem is Vim. Vim installed with APT-Get install Vim does not support system clipboard, so we haveSource codeCompilation, but I tried many times without Python support. I also checked the functions of many posts. The following warning is displayed when the./configure -- enable-pythoninterp method is used:

Checking: If compile and link flags for python are sane... No: Python disabled

I initially thought that python-imaging-sane was not installed, but it was still wrong after it was installed. Directly search for this error in Google. There are two very old email lists to discuss. Fortunately, we mentioned

Vim72/src/auto/config. log contains detailed logs. After reading the log, the problem is indeed found:

/Usr/bin/ld: cannot find-lssl

Then I found the answer in Baidu:

Sudo apt-Get install libcurl4-openssl-dev

 

In this way, the compilation was successful. In Linux, it was really difficult. Now I am using this chrome, but I still don't know how to set clear fonts.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.