博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux-使用之vim出现的问题
阅读量:5126 次
发布时间:2019-06-13

本文共 2126 字,大约阅读时间需要 7 分钟。

参考来源: //问题2

//问题3
问题2:安装好vim后打开vim出现错误信息
错误信息:The ycmd server SHUT DOWN (restart with...the instructions in the documentation
解决步骤:使用:YcmDebugInfo comes back with "Server errored, no debug info from server".
cd ~/.vim/bundle/YouCompleteMe and ran python install.py // 提示ERROR: Unable to find executable 'cmake'. CMake is required to build ycmd
sudo apt install cmake
//以上命令让系统做了什么
/* Built target ycm_core
-- The C compiler identification is GNU 7.3.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                      -- Found PythonLibs: /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/libpython3.6.so (found version "3.6.6")                       -- Configuring done                      -- Generating done                      -- Build files have been written to: /tmp/regex_build_82orenjb

    问题3:markdown实时显示出现问题

    vim必须继承ruby解释器(源码安装编辑器vim),
    sudo gem intall pygments.rb // 安装pygments.rb依赖库
    提示 gem:command not found
    sudo apt-get install ruby // 安装ruby,以便执行gem命令
    sudo gem install redcarpet // 安装redcarpet依赖库
    提示 ERROR: Error installing redcarpet:
    ERROR: Failed to build gem native extension.
    current directory: /var/lib/gems/2.5.0/gems/redcarpet-3.4.0/ext/redcarpet
    /usr/bin/ruby2.5 -r ./siteconf20181111-16728-1ylk41o.rb extconf.rb
    mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
    extconf failed, exit code 1

    sudo gem update --system // 解决安装redcarpet依赖库出现错误的问题         gem install redcarpet --platform=ruby --verbose                  mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h                  ERROR:  Error installing redcarpet:              ERROR: Failed to build gem native extension.                  Building has failed. See above output for more information on the failure.                  extconf failed, exit code              sudo apt-get install ruby-dev

转载于:https://www.cnblogs.com/jllin/p/9941347.html

你可能感兴趣的文章
以太网交换机
查看>>
DOM
查看>>
ROS学习笔记四:用C++编写ROS发布与订阅
查看>>
点击回车事件(登录)
查看>>
Windows7睡眠后自动唤醒
查看>>
Jq_网站顶部定时折叠广告
查看>>
GCD与LCM【数论】
查看>>
构建之法现代软件概述
查看>>
实现进程守护 脚本命令
查看>>
snappy
查看>>
CLR via C# 阅读 笔记
查看>>
互斥锁
查看>>
arp欺骗技术
查看>>
admin——django自带数据库管理工具
查看>>
怎么配置SQLServer2005以允许远程连接
查看>>
NSString 中包含中文字符时转换为NSURL
查看>>
莫名其秒的Cannot load JDBC driver class 'com.mysql.jdbc.Driv
查看>>
Java面试题
查看>>
SecureCRT SSH 语法高亮
查看>>
图像质量评价之数据库
查看>>