linux 中spfvim安装

1. 安装 git

   1.1 安装依赖的包:

            curl          curl-devel     zlib-devel         openssl-devel      perl      cpio      expat-devel getttext-devel

   1.2 安装git:

               wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
  tar xzvf git-latest.tar.gz
  cd git-2011-11-30 #你的目录可能不是这个
  autoconf
  ./configure
  make
  sudo make install
 1.3 检查git安装:

              git --version

git安装完后,执行命令的时候出现:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

解决办法如下:

1.在/etc/ld.so.conf中加一行/usr/local/lib,

 2.然后运行/sbin/ldconfig,文件解决,没有报错了~~

2. 安装spfvim

       # git clone https://github.com/spf13/spf13-vim.git
  # cd spf13-vim
  # ./bootstrap.sh

posted @ 2014-08-18 17:35  cjt1991  阅读(555)  评论(0编辑  收藏  举报