configure does not check for bison or flex

From: Eric L <eric(dot)leschinski(at)hotmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: configure does not check for bison or flex
Date: 2014-06-08 14:40:21
Message-ID: SNT151-W304B03D7E6463DA9569E83FB2E0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Johnston 2014-06-08 14:49:19 Re: [9.3] Should we mention "set_config(...)" in 18.1.3 in Server Configuration?
Previous Message Noah Misch 2014-06-08 13:57:13 Re: Securing "make check" (CVE-2014-0067)