configure does not check for bison or flex - Mailing list pgsql-hackers

From Eric L
Subject configure does not check for bison or flex
Date
Msg-id SNT151-W304B03D7E6463DA9569E83FB2E0@phx.gbl
Whole thread Raw
Responses Re: configure does not check for bison or flex  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-hackers
I am installing postgresql from source on 64 bit Ubuntu 14.04 and when I run the ./configure script, it is successful, but when I run make it fails with an error:


"ERROR: `flex' is missing on your system.  It is needed to create the file `bootscanner.c'.  You can either get flex from a GNU mirror site or download an official distribution of PostgreSQL, which contains pre-packaged flex output"

I get this same error for "bison".  I can install it with "sudo apt-get install bison" and "sudo apt-get install flex".  However shouldn't the ./configure script be checking for these first?

Eric

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Securing "make check" (CVE-2014-0067)
Next
From: David G Johnston
Date:
Subject: Re: configure does not check for bison or flex