From 0869ea43e9c2257819e5c8719e28fe3b5c527911 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 17 Jan 2025 08:35:52 +0100 Subject: Remove flex version checks Remove the flex version checks from configure and meson. The cutoff versions are all so ancient that this is no longer relevant, and what the actual cutoff should be is a bit fuzzy. This also removes the ancient behavior that configure would also accept a "lex" program if it is actuall flex. This aligns the check with meson in this respect. For future reference, as of this commit, these are relevant flex versions: - The hard required minimum is flex 2.5.34 as of commit b1ef48980dd, but this has not actually been tested. - Prior to this, the minimum enforced by configure/meson was flex 2.5.35, which is the oldest present in the buildfarm right now. - As of commit 6fdd5d95634, the oldest version that will compile without warnings due to flex-generated code is flex 2.5.36. - The oldest version that probably still has some practical relevance is flex 2.5.37, which ships with CentOS/RHEL 7. Discussion: https://www.postgresql.org/message-id/1a204ccd-7ae6-478c-a431-407b5c48ccc6@eisentraut.org --- doc/src/sgml/installation.sgml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index ebdb5b3bc2d..271615e4a65 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -100,10 +100,10 @@ yacc - Flex 2.5.35 or later and - Bison 2.3 or later are required. Other - lex and yacc - programs cannot be used. + Flex and Bison are + required. Other lex and + yacc programs cannot be used. + Bison needs to be at least version 2.3. @@ -3811,10 +3811,8 @@ make: *** [postgres] Error 1 Flex - Bison and Flex are - required. Only Bison versions 2.3 and later - will work. Flex must be version 2.5.35 or later. - Binaries can be downloaded from Bison and + Flex can be downloaded from . -- cgit v1.2.3