Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #11

Open
cesarboucas opened this issue Nov 24, 2016 · 3 comments
Open

Installation error #11

cesarboucas opened this issue Nov 24, 2016 · 3 comments

Comments

@cesarboucas
Copy link

I have installed the needed packages using:
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev

But when I run the install.pl script I get the following 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.
***
make[3]: *** [bootscanner.c] Error 1
make[2]: *** [bootstrap-recursive] Error 2
make[1]: *** [all-backend-recurse] Error 2
make: *** [all-src-recurse] Error 2
Compilation error.

How can I solve this?

@cesarboucas
Copy link
Author

Sounds like the issue is due to a version conflict. This warning happens before the error:

checking for flex... configure: WARNING:
*** The installed version of Flex, /usr/bin/flex, is too old to use with PostgreSQL.
*** Flex version 2.5.31 or later is required, but this is flex 2.6.1.

@yakovo-dev
Copy link

yakovo-dev commented Nov 26, 2016

I had same error when I installed RecDB on Ubuntu 16.04 LTS. You might want to try installing it again on different version like 14.04 LTS.

@yakovo-dev
Copy link

I have found other way to install flex properly. Uninstall flex 2.6.1 and other dependencies first, and then download and install flex and libfl-dev-2.5.31 or higher. RecDB does work on 16.04.1 of my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants