[Postgres-xl-general] flex version error on install from source

Jo Walsh metazool at gmail.com
Fri May 27 02:12:46 PDT 2016


I checked out the XL9_5_STABLE branch as you suggest and don´t see the
error on configure - thanks:
checking for flex... /usr/bin/flex
configure: using flex 2.6.0

Hereś the configure warning from the master branch:

checking for flex... configure: WARNING:
*** The installed version of Flex, /usr/bin/flex, is too old to use with
PostgreSQL.
*** Flex version 2.5.31 or later is required, but this is flex 2.6.0.
configure: WARNING:
*** The installed version of Flex, /usr/bin/lex, is too old to use with
PostgreSQL.
*** Flex version 2.5.31 or later is required, but this is lex 2.6.0.

$ which flex
/usr/bin/flex
$ flex --version
flex 2.6.0

cheers,


Jo


On Fri, May 27, 2016 at 9:40 AM, Pavan Deolasee <pavan.deolasee at gmail.com>
wrote:

>
> If you're using git, I would suggest to use XL9_5_STABLE branch, not that
> it should matter for this case.
>
> The thread you quoted below had a different problem AFAICS. JFYI git
> cloned sources don't have .c files for either flex or bison. But the tar
> balls at postgres-xl.org should have those included.
>
> I just my flex version and on another machine. Both have versions less
> than 2.6.0, so may be there is some issue with 2.6.0. But can you please
> make sure you are using the right version? Can you show us configure error?
>
> Thanks,
> Pavan
>
> On Fri, May 27, 2016 at 2:01 PM, Jo Walsh <metazool at gmail.com> wrote:
>
>> This is with the results of
>>
>> git clone git://git.postgresql.org/git/postgres-xl.git about an hour
>> ago...
>>
>> Thanks for the prompt response!
>>
>> On Fri, May 27, 2016 at 9:26 AM, Pavan Deolasee <pavan.deolasee at gmail.com
>> > wrote:
>>
>>> Can you please tell us which Postgres-XL version you're trying?
>>>
>>> Thanks,
>>> Pavan
>>>
>>> On Fri, May 27, 2016 at 1:46 PM, Jo Walsh <metazool at gmail.com> wrote:
>>>
>>>> dear all,
>>>>
>>>> I've been building Postgres-XL from source on Fedora 23 and am
>>>> encountering the flex version error reported here:
>>>> https://sourceforge.net/p/postgres-xl/mailman/message/33163512/
>>>>
>>>> I did not experience the same issue when building Postgres-XL on Ubuntu
>>>> 16.04
>>>>
>>>> Both builds were with flex version 2.6.0 installed from packages;
>>>> Postgres-XL's configure process is complaining that it requires a 2.5.31 or
>>>> higher.
>>>>
>>>> I managed to proceed with the Fedora build by installing flex 2.5.31
>>>> from source;
>>>> but it's a peculiar bug that must be affecting others?
>>>>
>>>>
>>>> http://git.postgresql.org/gitweb/?p=postgres-xl.git;a=blob;f=configure;h=0467e3d3930d72db31779db970b2fb4166cf9230;hb=HEAD#l7257
>>>>
>>>> cheers,
>>>>
>>>>
>>>> Jo
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>> traffic
>>>> patterns at an interface-level. Reveals which users, apps, and
>>>> protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>> planning reports.
>>>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>>>> _______________________________________________
>>>> Postgres-xl-general mailing list
>>>> Postgres-xl-general at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/postgres-xl-general
>>>>
>>>>
>>>
>>>
>>> --
>>>  Pavan Deolasee                   http://www.2ndQuadrant.com/
>>>  PostgreSQL Development, 24x7 Support, Training & Services
>>>
>>
>>
>
>
> --
>  Pavan Deolasee                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/pipermail/postgres-xl-general-postgres-xl.org/attachments/20160527/9ba1c24e/attachment.htm>


More information about the postgres-xl-general mailing list