Sunday, January 8, 2017

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

2017-01-08 17:40 GMT+03:00 Brenton Horne <brentonhorne77@gmail.com>:
> Sorry, I just read about how it can't be in HTML. Here is the message
> without HTML
>
> Hi,
>
> I maintain Vim packages in my Open Build Service home project, for
> example here are the packaging files I use to build it for
> CentOS/Fedora/Scientific Linux
> https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
> would like to build Vim for CentOS 5 and 6, but I cannot presently do
> this, because the build fails and I think the reason why is that GCC
> is too old. So I am here to ask what's the minimum version of GCC
> required to build the latest Vim (so 8.0) and are there any ways to
> build Vim with an older GCC? The build log (showing the error from
> building Vim on 64-bit CentOS 6) can be found here
> (https://build.opensuse.org/build/home:fusion809/CentOS_6/x86_64/vim/_log),
> if you're wondering whether it's a bug.

This does not look like something that has something to do with GCC:
apart from "may be used uninitialized" warnings there are only
"undefined reference" errors which indicate that your system has no
(not true: configure found it) or incompatible (most likely outdated)
ncurses library. First try to supply to configure script something
other then --with-tlib=ncurses: search for tlibs in src/configure.ac
for a list, but guess better start with absent --with-tlib argument
and check whether automatic detection succeeds.

>
> Thanks for your time,
> Brenton
>
> On 9 January 2017 at 00:38, Brenton Horne <brentonhorne77@gmail.com> wrote:
>> Hi,
>>
>> I maintain Vim packages in my Open Build Service home project, for example
>> here are the packaging files I use to build it for CentOS/Fedora/Scientific
>> Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
>> would like to build Vim for CentOS 5 and 6, but I cannot presently do this,
>> because the build fails and I think the reason why is that GCC is too old.
>> So I am here to ask what's the minimum version of GCC required to build the
>> latest Vim (so 8.0) and are there any ways to build Vim with an older GCC?
>> The build log (showing the error from building Vim on 64-bit CentOS 6) can
>> be found here, if you're wondering whether it's a bug.
>>
>> Thanks for your time,
>> Brenton
>
>
>
> --
> Thanks for your time,
> Brenton
>
> --
> --
> 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/d/optout.

--
--
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/d/optout.

No comments:

Post a Comment