flex (was Re: [HACKERS] Installation procedure.)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема flex (was Re: [HACKERS] Installation procedure.)
Дата
Msg-id 3049.933603765@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Installation procedure.  ("J. Michael Roberts" <mirobert@cs.indiana.edu>)
Ответы Re: flex (was Re: [HACKERS] Installation procedure.)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: flex (was Re: [HACKERS] Installation procedure.)  ("J. Michael Roberts" <mirobert@cs.indiana.edu>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Binary cursor header changed from 20 to 16 Bytes?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Optimizer hints