Wednesday, November 30, 2011

Installing vim 7.3 as a user - can't copy to/from system clipboard

Hi,

I am trying to install vim 7.3 locally on a red hat machine in which
I have a user account. I downloaded the source code from vim.org and
ran the following commands.

./configure --prefix=/home/<username>/.local --enable-gui --with-x --
with-features=normal
make install DESTDIR=/home/<username>/.local

Now, I am unable to copy the data to/from the system clipboard. I
googled to find out that that this happens when vim is compiled
without X/gui support. Hence, I tried the options (given above) while
compiling, again with the same results. Can someone help me out?

Given below are the version details (obtained by entering :version
from vim)
--------------------------------------------------------------------------------------------------------------------------------
Normal version with X11-Motif GUI. Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset
+cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
-conceal +cryptv -cscope +cursorbind +cursorshape +dialog_con_gui
+diff
+digraphs -dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -
farsi
+file_in_path +find_in_path +float +folding -footer +fork() +gettext
-hangul_input -iconv +insert_expand +jumplist -keymap -langmap
+libcall
+linebreak +lispindent +listcmds +localmap -lua +menu +mksession
+modify_fname
+mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm -mouse_netterm
-mouse_sysmouse +mouse_xterm -multi_byte +multi_lang -mzscheme
+netbeans_intg
-osfiletype +path_extra -perl +persistent_undo +postscript +printer -
profile
-python -python3 +quickfix +reltime -rightleft -ruby +scrollbind
+signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra
+viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset
+xim
+xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/home/<username>/.local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -
DFUNCPROTO=15
-DNARROWPROTO -g -O2 -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lXext -lXm -lXpm -lm -
lncurses -lselinu
x -lacl -lgpm
--------------------------------------------------------------------------------------------------------------------------------

Thanks in advance.
Anith.

--
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

No comments: