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

Installing extension in PostgreSQL 9.6 #25

Open
dmagrinya opened this issue Feb 8, 2017 · 2 comments
Open

Installing extension in PostgreSQL 9.6 #25

dmagrinya opened this issue Feb 8, 2017 · 2 comments

Comments

@dmagrinya
Copy link

@dmagrinya dmagrinya commented Feb 8, 2017

Hi, is it possible to install the extension to a system running PostgreSQL 9.6? I'm trying to do it on a system where I have 'bison' version 2.7 installed but it prints the following error after running the command $ make USE_PGXS=1:


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


@robe2
Copy link

@robe2 robe2 commented May 12, 2017

I get the same error too on PostgreSQL 9.6 and PostgreSQL 10. (compiling under Mingw64 gcc 4.9.2 where I've got BISON 3.0.4 installed.

Compiles fine against PostgreSQL 9.4 and 9.5. So I assume it must be something included via PostgreSQL 9.6 and 10 tree causing the issue.

I was able to work around the issue by using the jsquery_gram.c built by my PostgreSQL 9.5 compile. Seems to work fine in 9.6, but that's not ideal and not sure if it will cause problems down the line.

@dmytrocx75
Copy link

@dmytrocx75 dmytrocx75 commented Jan 2, 2019

@robe2 could you explain how to build jsquery_gram.c by PostgreSQL 9.5 compile? I'm experiencing the same issue.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.