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!