I want to compile the current version of vim with:
+clipboard +xterm_clipboard and ruby support
But every time I compile it the clipboard and the xterm_clipboard options aren’t enabled.
Is there a lib needed or must I add any other options in the configuration step?
./configure \
--enable-rubyinterp=dynamic \
--enable-cscope \
--enable-gui=auto \
--enable-gtk2-check \
--enable-gnome-check \
--with-features=huge \
--with-x
make && sudo make install
You can see if
configuremanage to find a working X lib by checking the output of (or scroll through the output ofconfigurein your terminal):If
configurefailed then you’ll see:You’ll need to install the appropriate X development library like
xlibandxtstfor--with-xto work.On ubuntu it should be enough to install
libx11-devandlibxtst-dev.