Ubuntu14.04 32-bit installation of Youcompleteme,

Source: Internet
Author: User

Ubuntu14.04 32-bit installation of Youcompleteme,

Some time ago, the vim plug-in Youcompleteme was installed on ubuntu16.04 64-bit, which took two or three days to complete. today, the same plug-in is installed on ubuntu14.04 32-bit to know how simple the previous installation was. today's installation made me understand what is the most difficult vim plug-in history.

I copied the bundle folder on ubuntu16.04 and ran it. /install. when py -- clang-completer is executed, it tells me that the downloaded clang5.0 cannot be used and needs to be compiled by myself. for more information, see http://www.jianshu.com/p/cbb242026ff2.-DCMAKE_BUILD_TYPE=ReleaseOtherwise, you will find that when the compilation Progress reaches 60%, your 8 GB physical memory will be used up and compilation will fail! After compilation, install it on your own system. note that the library file is installed in/usr/local/lib. You need to add it to the library path. after completing the configuration, return to the Youcompleteme path and run./install.sh --clang-completer --system-libclangThe following parameter is used to tell the script that the clang library can be found in the system library path.

The description on the official website of Youcompleteme requires that the vim version must be 7.4.1578 +; otherwise, it cannot be used. the vim version installed with apt-get on ubuntu14.04 is also 7.4, but the patch number is low and you have to reinstall vim. download the latest vim source code for installation. you can refer to the plugin -- version link for details. python/dyn and python3/dyn are added in front of each other. In this case, all the plug-ins you have installed cannot be used! Instead, specify only the python2.7 parameter, and change python/dyn to python. Note that the installed vim path is/usr/local/bin.

It seems a lot difficult to install along the way. I know that Youcompleteme is the most difficult vim plug-in history!

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.