i want build youcompleteme plugin vim. once run cmake according manual, errors:
could not find pythonlibs (missing: python_libraries python_include_dirs) the problem have old red had linux , yum give python 2.7. need build sources. questions should build python? corresponds python-dev package on ubuntu? environment paths should set , values?
how can figrue out path should setup based on cmake config file?
thank you.
i think best way not install python2.7 system - use pyenv - https://github.com/yyuu/pyenv install specific version of python need in local directory (~/.pyenv./....)
now, use pyenv install -ks 2.7.0` install , compile python 2.7.10 ~/.pyenv/versions/2.7.10 directory without touching rest of system.
then in directory try compile plugin, pyenv local 2.7.10 create file .python-version control version pyenv use.
the reason because if install python2.7 system, mess other applications whichi may not expect version.
also, pyenv install -dev versions - so, no step needed that
Comments
Post a Comment