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