quantile icon indicating copy to clipboard operation
quantile copied to clipboard

Installation via pgxn fails

Open ghost opened this issue 8 years ago • 3 comments

Running sudo pgxn install quantile produces

INFO: best version: quantile 1.1.5
INFO: saving /tmp/tmp1aP2zs/quantile-1.1.5.zip
INFO: unpacking: /tmp/tmp1aP2zs/quantile-1.1.5.zip
INFO: building extension
Makefile:16: /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target '/usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk'.  Stop.
ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all

What to do?

ghost avatar Mar 25 '17 08:03 ghost

Hi, I am also getting this error on ubuntu server 16.4

Errol-n avatar Aug 10 '17 17:08 Errol-n

I found this solution fixed a similar issue for me:

https://github.com/travis-ci/travis-ci/issues/2864

before_script:

  • sudo apt-get install postgresql-server-dev-all
  • sudo apt-get install postgresql-common

simg avatar Oct 14 '17 16:10 simg

@simg Doesn't work for me, where system is Ubuntu 16.04 LTS.

BoyuanYan avatar Aug 06 '18 03:08 BoyuanYan