On 27/04/09 19:27, Raúl Núñez de Arenas Coronado wrote:
>
> Saluton smu :)
>
> On Mon 27 Apr 2009 19:22 +0200, smu johnson<[email protected]> dixit:
>> Is there a simple arg I can do to simply just get a function Vim
>> without having to read 500 pages of documentation? Something like
>> ./configure --add_basic_utf_support
>
> Not as simple as that, but this is, IMHO, the best guide about building
> Vim yourself:
>
> http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
>
> The page is not long and it is very well organized (well, it was last
> time I checked it, a bit ago). Try to search within the page or wait
> until Tony reads your message and comes with the correct answer ;)
>
Sorry, I'm much behind in reading mail, and this thread's subject caught
my eye so I processed it out-of-order, or you might have waited a week
or two more.
Yes, Smu Johnson, by all means go check the above-mentioned how-to page,
I tried to make it as clear as I possibly could. Here are a few caveats:
- It's usually not necessary to run configure separately; I've found
that by having the appropriate environment variables set, configure will
be run by make with the proper arguments, if necessary or if you set the
proper make target (such as "make reconfig" to do a full configure and
compile from scratch); also, having your configure settings in the make
environment makes it sure that even if make decides to re-run configure,
it will do so with the proper arguments.
- To compile with +multi_byte, you need a Big or Huge build (as shown by
the B in the left margin at ":help +multi_byte" in the Vim help); my
how-to page has a full example of how I set my configure options, the
featureset is set by (for instance)
export CONF_OPT_FEAT='--with-features=huge'
I also have
export CONF_OPT_MULTIBYTE='--enable-multibyte'
but it is possibly redundant if you already specify Big or Huge
features. (It cannot harm though.) Of course, if you change configure
arguments (such as the featureset) or if you install new software which
can make a difference (such as a development package) you must go
through a full configure (e.g. with "make reconfig") before any changes
take effect. If you want to stop after the configure you can also run
"make distclean" "make config" and "make" in succession, which are
equivalent to what "make reconfig" does in one (long) operation.
- You will also need to have the proper software installed, and this
most definitely includes the "development" packages for anything that
you want to include into Vim. How to get those packages varies between
OSes and between Linux distros; I'm not familiar with how to do it on
Ubuntu. I think it involves running the apt-get utility but further than
that, someone else will have to answer if you can't figure it out for
yourself.
Best regards,
Tony.
--
Excess on occasion is exhilarating. It prevents moderation from
acquiring the deadening effect of a habit.
-- W. Somerset Maugham
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---