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

Can't install without USE_PGXN=1 #31

Closed
ArturFormella opened this issue Nov 27, 2017 · 1 comment
Closed

Can't install without USE_PGXN=1 #31

ArturFormella opened this issue Nov 27, 2017 · 1 comment
Labels

Comments

@ArturFormella
Copy link

@ArturFormella ArturFormella commented Nov 27, 2017

Hello!
I have the following issue.

➜ ~ sudo pgxn install rum

INFO: best version: rum 1.1.0
INFO: saving /tmp/tmpYlffn2/rum-1.1.0.zip
INFO: unpacking: /tmp/tmpYlffn2/rum-1.1.0.zip
INFO: building extension
Makefile:31: ../../src/Makefile.global: No such file or directory
Makefile:32: /contrib/contrib-global.mk: No such file or directory
make: *** Brak reguł do wykonania obiektu `/contrib/contrib-global.mk'. Stop.
ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all

My first try:

export USE_PGXS=1
sudo pgxn install rum  #The same problem.
pgxn install rum --sudo sudo  #No success

Finally this works

sudo su
export USE_PGXS=1
pgxn install rum

I think this hint should be in documentation.
You can also consider this point of view: http://blog.pgxn.org/post/20908326485/lose-use-pgxs

@za-arthur
Copy link
Contributor

@za-arthur za-arthur commented Nov 27, 2017

Thank you for the issue!
I documented PGXN installation procedure. You can execute the following:

USE_PGXS=1 pgxn install rum
@za-arthur za-arthur closed this Nov 29, 2017
za-arthur added a commit that referenced this issue Aug 3, 2018
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
2 participants