flex (was Re: [HACKERS] Installation procedure.) - Mailing list pgsql-hackers

From Tom Lane
Subject flex (was Re: [HACKERS] Installation procedure.)
Date
Msg-id 3049.933603765@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] Installation procedure.  ("J. Michael Roberts" <mirobert@cs.indiana.edu>)
Responses Re: flex (was Re: [HACKERS] Installation procedure.)
Re: flex (was Re: [HACKERS] Installation procedure.)
List pgsql-hackers
"J. Michael Roberts" <mirobert@cs.indiana.edu> writes:
> - I needed to install flex (no surprise) -- the instructions are quite
>   explicit, but, well, wrong: flex depends on bison.  So you have to get
>   and compile bison first.

BTW, does anyone understand *why* our lexer files require flex and not
just garden-variety lex?  Would it be worth trying to make them more
portable?

Or perhaps we should ship pre-lexed derived files, as we do for the
larger grammar files?

Having to install bison & flex is probably the most annoying Postgres
prerequisite for people on non-Linux platforms, so I think it would
be nice to clean this up.  I hadn't realized that you're essentially
forced to install both...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Optimizer hints