Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Can't install without USE_PGXN=1 #31

Copy link
Copy link
Closed
@ArturFormella

Description

@ArturFormella
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.