2016-05-06 18 views
4

私はVIMをたくさん使っていて、以前は入手できました+xterm_clipboardsupport working by using a script provided in a separate post on StackOverflow.自分のマシンにUbuntuを再インストールしてから、Ubuntu 14.04.4 LTS (Wily)をUbuntu 16.04 LTS(Xenial)に変更しました。Ubuntu 16.04 LTS - VIMでxterm_clipboardを有効にできません

# Get the compile-dependencies of vim 
sudo apt-get build-dep vim 
# If you haven't got mercurial, get it 
sudo apt-get install mercurial 
# Get the source 
hg clone https://vim.googlecode.com/hg/ vim_source 
# Compile it 
cd vim_source 
./configure \ 
    --enable-perlinterp=dynamic \ 
    --enable-pythoninterp=dynamic \ 
    --enable-rubyinterp=dynamic \ 
    --enable-cscope \ 
    --enable-gui=auto \ 
    --enable-gtk2-check \ 
    --enable-gnome-check \ 
    --with-features=huge \ 
    --with-x \ 
    --with-compiledby="Your Name <[email protected]>" \ 
    --with-python-config-dir=/usr/lib/python2.7/config 
make && sudo make install 

はしかし、これはもはや機能していない、と私はを利用することはできません、+、システムのクリップボードにバッファをヤンクするY。私は明らかに何も表示されません。 .configure出力が、私はそれを構築する際vim --versionはいつも私がこの問題を解決するにはどうすればよい。-xterm_clipboardを示して?

答えて

5

あなたはもう(hg)水銀を介してソースがもはやGoogleのコード上でホストされていることに気づいていないはずであり、中にはGitHubに移行しましたエラーメッセージgen提供されたスクリプトによってエラートされます。

新しいソースツリーgitを使用する必要があります。一部のデベロッパーライブラリは、事前にインストールする必要があります。

コード表示


# Get the compile-dependencies of vim 
sudo apt-get -y build-dep vim 
# Install the "checkinstall" tool so the "make install" step is 
# wrapped and the result is a .deb file that can be removed later by 
# your package manager rather than having to hunt down every file deployed 
# by "make install", which might not be possible if it overwrites existing 
# system files. 
sudo apt-get -y install checkinstall 
# Install python dev 
sudo apt-get -y install python-dev 
# Install xorg dev 
sudo apt-get -y install xorg-dev 
# Install git 
sudo apt-get -y install git 
# Get the source 
git clone https://github.com/vim/vim.git vim_source 
# Remove ./configure cache in case we have to run this twice due to permissions 
# related issues. 
rm vim_source/src/auto/config.cache 
# Compile it 
cd vim_source 
make clean 
./configure \ 
    --enable-perlinterp=dynamic \ 
    --enable-pythoninterp=dynamic \ 
    --enable-rubyinterp=dynamic \ 
    --enable-cscope \ 
    --enable-gui=auto \ 
    --enable-gtk2-check \ 
    --enable-gnome-check \ 
    --with-features=normal \ 
    --with-x \ 
    --with-compiledby="DevNull <[email protected]/dev/null>" \ 
    --with-python-config-dir=/usr/lib/python2.7/config-$(uname -m)-linux-gnu 
# Build quickly (8 parallel jobs, hope your system doesn't get overwhelmed) 
make -j8 
# Need root to install 
sudo checkinstall 
関連する問題