On 2011-07-11, Dominique Pellé wrote: > Teggy V wrote: > > > Hi there, > > I am a great fan of vim; be it on windows or linux or other unix boxes. > > One issue though which I often have, specially on solaris servers, is that I > > can't install vim since I don't have root rights to install vim in /usr or > > /usr/local. > ...snip... > > You don't need to be root to install Vim. Just install it in another directory > where you have permission. You can use the --prefix option of configure > to indicate where to install Vim: > > $ mkdir $HOME/local > $ cd vim > $ ./configure --prefix=$HOME/local --with-features=huge --enable-gui=gtk2 > $ make > $ make test > $ make install > > And then make sure that $HOME/local/bin is in your PATH: > > $ export PATH=$HOME/local/bin:$PATH
However, > Teggy V also wrote: > > One would suggest compiling vim from source and to set the > > install dir to some home directory. Issue with compilation is > > that often times, the server does not have the compiler or all > > the libraries or dependencies which vim compilation requires. Once you've built and installed Vim per Dominique's instructions, I think you should be able to copy $HOME/local to any other Solaris server, set PATH accordingly and you'd be in business. You might find a server without runtime support for some Vim feature. In that case, you could rebuild Vim without that feature and try again. It might take some trial and error to discover which feature needs the unavailable library. On Linux you can use ldd to show you shared library dependencies. The same or similar command should be available on Solaris. If you can't find ldd, you might try "man -k librar". Regards, Gary -- 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
