Installing vim with clientserver

To use vimrunner, your installation of Vim needs to be compiled with clientserver support.

To check if your vim installation has it already

[[ -n "`vim --version | grep client`" ]] && echo "Installed" || echo "Not installed"

If it does, you don’t need the rest of the psot

To do this, follow these instructions:

hg clone https://vim.googlecode.com/hg/ /tmp/vim
cd /tmp/vim
./configure --with-features=huge--enable-gui=auto
make
sudo make install

Open a new terminal and run the command above again to see if clientserver is there. If it isn’t, you might need some dev dependencies installed.

Ubuntu/Debian:

sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev

Fedora/Redhat:

sudo yum install libXt.i686 libXt-devel.i686 \
libXpm.i686 libXpm-devel.i686 \
libX11.i686 libX11-common.noarch libX11-devel.i686 \
ghc-cairo-devel.i686  cairo.i686   \
libgnomeui-devel.i686 \
ncurses.i686 ncurses-devel.i686  ncurses-libs.i686 ncurses-static.i686 \
ghc-gtk-devel.i686 gtk+-devel.i686 \
gtk2.i686  gtk2-devel.i686 \
atk-devel.i686 atk.i686 \
libbonoboui.i686 libbonoboui-devel.i686 

Thoughts on this post

[…] If it doesn’t, read this post […]

Leave a comment?

Leave a Reply