Wednesday, February 12, 2014

Re: How to compile with clipboard support ?

On Thursday, February 13, 2014 8:59:01 AM UTC+13, Lucas Sanner wrote:
>
> I'm trying to compile Vim on a Ubuntu 12.04 server in order to get the
> clipboard working.
> ...
> CONF_OPT_GUI = --with-x --disable-gui

> ... clipboard and xterm_clipboard remains deseperatly disabled
>
> What should I do to enabled clipboard support ?

Here on Kubuntu 13.10 I did exactly that and got what you want.

Firstly, did you

make reconfig

after installing stuff?

Now, I expect that you're missing some library or header and if you

sudo apt-get build-dep vim-gtk

you'll get what is needed. However, if you don't like all that stuff you could spelunk into src/auto/config.log, or maybe compare your link command to mine:

Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXpm -lXt
-lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl

I remember installing gpm (for console mouse support), I expect you don't need that; just tried disabling it, and still got +clipboard +xterm_clipboard.

Regards, John Little

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: