SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to compile YouCompleteMe for vim. When I ran install.py, I got this error
Code:
Searching Python 3.7 libraries...
Found Python library: /usr/lib64/libpython3.7m.so
Found Python headers folder: /usr/include/python3.7m
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:232 (message):
Your C++ compiler does NOT fully support C++17.
-- Configuring incomplete, errors occurred!
See also "/tmp/ycm_build_s90xbc7b/CMakeFiles/CMakeOutput.log".
ERROR: the build failed.
NOTE: it is *highly* unlikely that this is a bug but rather
that this is a problem with the configuration of your system
or a missing dependency. Please carefully read CONTRIBUTING.md
and if you're sure that it is a bug, please raise an issue on the
issue tracker, including the entire output of this script
and the invocation line used to run it.
Extra is an official Slackware repo. Have you noticed the green label Official on the pkgs.org page? They mark unofficial repos with the red label Third-Party.
Stand corrected, thanks ! I didn't realise it was the extra in official Slackware repo. I guess it might be because I haven't had a look tova 14.2 repo for a long time...
Extra is an official Slackware repo. Have you noticed the green label Official on the pkgs.org page? They mark unofficial repos with the red label Third-Party.
Most don't recommend using pkgs.net for Slackware since the site doesn't document any dependencies, in addition to potential problems when mixing packages from two different repos.
There's a newer cmake on SBo which claims to install to /opt and not interfere with system cmake. README.Slackware contains instructions about how to use it (editing the SlackBuilds is required). I've never tried it yet though. But it's in my TODO, because I'm affected by this too. To make YCM compile, you might try aliasing the new cmake as cmake, so YCM transparently uses the new one. If you try this first (before me), please let us know here if it worked.
Edit: this post is misleading. Trying to compile YCM with the newer cmake produces the same error, since the problem is the C++ compiler, not cmake itself. So the options are either to try -current or use an older YCM version. I think 2-3 months ago it compiled fine with the C++ compiler that Slackware 14.2 provides. My file dates show it compiled fine at the beginning of November last year.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.