Christopher Browne cbbrowne at ca.afilias.info
Fri Nov 19 11:19:16 PST 2010
Devrim GÜNDÜZ <devrim at gunduz.org> writes:
> On Fri, 2010-11-19 at 12:16 -0500, Steve Singer wrote:
>> Reports of success or failures with these packages are encouraged.
>
> on RHEL 5, I got the same error that I reported yesterday. On RHEL 6, I
> got another error, but it may be because of my RPM packaging, so I'll
> report that later if I can't fix.
>
> RHEL 5:
> <snip>
> checking for flex... configure: WARNING:
> *** The installed version of Flex, /usr/bin/flex, is too old to use with Slony-I.
> *** Flex version 2.5.31 or later is required, but this is /usr/bin/flex version 2.5.4.
> configure: WARNING:
> *** The installed version of Flex, /usr/bin/lex, is too old to use with Slony-I.
> *** Flex version 2.5.31 or later is required, but this is /usr/bin/lex version 2.5.4.
> no
> configure: WARNING:
> *** Without Flex you will not be able to build Slony-I from CVS nor
> *** change any of the scanner definition files.  You can obtain Flex from
> *** a GNU mirror site.  (If you are using the official distribution of
> *** Slony-I then you do not need to worry about this because the Flex
> *** output is pre-generated.)

I see the following indicated within configure.ac

 PGAC_PATH_FLEX
# --------------
# Look for Flex, set the output variable FLEX to its path if found.
# Reject versions before 2.5.31, as we need a reasonably non-buggy reentrant
# scanner.    We need at least 2.5.31 because we depend on
# yyget_leng() to be defined since later some versions of flex switched
# the definition of yyleng from an int to a size_t
#  Also find Flex if its installed under `lex', but do not
# accept other Lex programs.

# PGAC_PATH_FLEX

This was committed back in May:

<http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commit;h=b44f967e2c62c60f5a2448ce1c4d5afd878922bf>
-- 
"cbbrowne","@","afilias.info"
Christopher Browne
"Bother,"  said Pooh,  "Eeyore, ready  two photon  torpedoes  and lock
phasers on the Heffalump, Piglet, meet me in transporter room three"


More information about the Slony1-general mailing list