Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xshell打开的ssh会话中,markdown实时预览如何生效? #30

Closed
yxs opened this issue Apr 8, 2018 · 4 comments
Closed

xshell打开的ssh会话中,markdown实时预览如何生效? #30

yxs opened this issue Apr 8, 2018 · 4 comments

Comments

@yxs
Copy link

yxs commented Apr 8, 2018

vimplus安装完成之后,使用vim打开*.md文件并没有出现一个预览窗口。

@chxuan
Copy link
Owner

chxuan commented Apr 9, 2018

@yexuesong 你好,markdown实时预览需要有界面的操作系统,你xshell访问的是server版本的linux吗?

@yxs
Copy link
Author

yxs commented Apr 10, 2018

@chxuan 嗯,有道理,应该装个gnome,还需要配置X11吗?还是说只要图形组件。

另外,我现在clean掉了一些不想要的插件,导致了报这个错?之前YCM都是正常可工作了的。
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library too old; PLEASE RECOMPILE by running the install.py script. See the documentation for more details.

为什么会导致这种情况?

@yxs
Copy link
Author

yxs commented Apr 10, 2018

跑了次install.py ,这个提示的log没有找到。

WARNING: this script is deprecated. Use the install.py script instead.
Searching Python 2.7 libraries...
Found Python library: /usr/lib64/python2.7/config/libpython2.7.so
Found Python headers folder: /usr/include/python2.7
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- 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
-- Found PythonLibs: /usr/lib64/python2.7/config/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7") 
-- Downloading libclang 6.0.0 from https://dl.bintray.com/micbou/libclang/libclang-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.bz2
CMake Error at ycm/CMakeLists.txt:108 (file):
  file DOWNLOAD HASH mismatch

    for file: [/root/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/libclang-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.bz2]
      expected hash: [a2f198aec6a6ea42b7ca2712295f73e1e3f912ca7579181f6d0339c04e8f9a0e]
        actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]



CMake Error at ycm/CMakeLists.txt:124 (message):
  Cannot find path to libclang in prebuilt binaries


-- Configuring incomplete, errors occurred!
See also "/tmp/ycm_build_KQozEK/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.

@yxs
Copy link
Author

yxs commented Apr 10, 2018

no path to libclang ...

@yxs yxs closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants