jsquery icon indicating copy to clipboard operation
jsquery copied to clipboard

make USE_PGXS=1

Open razersergey opened this issue 2 years ago • 1 comments

Hi I try to installing jsquery and it fails with the error message [make USE_PGXS=1](make: *** [/usr/lib/postgresql/16/lib/pgxs/src/makefiles/../../src/Makefile.global:792: jsquery_gram.c] Error 127)

razersergey avatar Nov 15 '23 08:11 razersergey

Hi! It looks like incorrect (or unidentified) environment variables. If you want to place jsquery (or other module) outside the contrib folder and use USE _PGXS=1, you need the path to pg _config. Therefore, please run export PATH=path_to_your_bin_folder:$PATH before starting compilation. Or you also may use make USE_PGXS=1 PG_CONFIG=path_to_your_bin_folder/pg_config I hope everything works out. Otherwise I will wait for your error logs.

sokolcati avatar Nov 15 '23 09:11 sokolcati