Tuesday, January 25, 2011

Re: Compiling 7.3

On 24/01/11 17:06, Ivan Sichmann Freitas wrote:
> On Mon, Jan 24, 2011 at 09:57:51AM -0500, John Culleton wrote:
>> The vim.org site offers all kinds of alternate ways to obtain and
>> install vim 7.3, requiriing software I never heard of before. On
>> Linux can I just:
>
> You should search if precompiled binaries exist for you linux distribution
> first.
>
>> 1. Download the bz2 file.
>> 2. bunzip
>> 3. tar xvf
>
> You can combine the steps 2 and 3 with only tar xvf (if you're using an older
> version of tar, use tar xjvf)

Steps 1 to 3 above will give you the unpatched 7.3.0 source. The current
"stable" Vim is 7.3.107.

>
>> 4. ./configure
>
> Worths reading './configure --help' first, there are many configurable options.
> If you want a featureful vim, ./configure --with-features=huge would be
> sufficient (also look for python/perl/netbeans options)

I recommend running configure by having make invoke it (and setting
configure options by means of environment variables) because in some
cases make will decide to run configure again. If your options are not
set in the environment you'll get the default settings for that "second"
run of configure.

>
>> 5. make
>> 6. make install
>> ?
>
> Suposing you have all the dependencies, steps 5 and 6 will be straightforward
> (step 6 will need root permissions)
>
>>
>> --
>> John Culleton
>> Create Book Covers with Scribus:
>> http://www.booklocker.com/p/books/4055.html
>> Typesetting and indexing http://wexfordpress.com
>> book sales http://wexfordpress.net
>> Free barcode: http://www.tux.org/~milgram/bookland/
>>
>> --
>> 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
>

See:
http://vim.wikia.com/wiki/Getting_the_Vim_source_with_Mercurial
about getting the latest "official" sources, and
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
about compiling Vim on Unix/Linux. (Some parts of the latter are made
obsolete by the former.)


Best regards,
Tony.
--
You better believe that marijuana can cause castration. Just suppose
your girlfriend gets the munchies!

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