This repository was archived by the owner on Aug 4, 2021. It is now read-only.
Description Currently make package fails due to missing pg_prometheus.so
[root@db7a59fabec1 pg_prometheus]# make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-9.6/include/server -I/usr/pgsql-9.6/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/prom.o src/prom.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-9.6/include/server -I/usr/pgsql-9.6/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/parse.o src/parse.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -I. -I./ -I/usr/pgsql-9.6/include/server -I/usr/pgsql-9.6/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o src/utils.o src/utils.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DINCLUDE_PACKAGE_SUPPORT=0 -MMD -shared -o pg_prometheus.so src/prom.o src/parse.o src/utils.o -L/usr/pgsql-9.6/lib -Wl,--as-needed -L/usr/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/pgsql-9.6/lib',--enable-new-dtags
[root@db7a59fabec1 pg_prometheus]# make package
rm -f pg_prometheus.so libpg_prometheus.a libpg_prometheus.pc
rm -f src/prom.o src/parse.o src/utils.o
rm -rf sql/pg_prometheus--0.2.1.sql src/prom.d src/parse.d src/utils.d
rm -rf test/results/ test/regression.diffs test/regression.out tmp_check/ log/
/bin/sh /usr/pgsql-9.6/lib/pgxs/src/makefiles/../../config/install-sh -c -m 755 pg_prometheus.so 'package/lib/pg_prometheus.so'
/usr/pgsql-9.6/lib/pgxs/src/makefiles/../../config/install-sh: pg_prometheus.so does not exist.
make: *** [package] Error 1
Consider changing --
package : clean $(EXT_SQL_FILE )
to:
package: $(EXT_SQL_FILE) $(EXTENSION).so
Additional question -- Is there a pre-built version pg_prometheus available? Was looking specifically for a RPM and not the docker image.
Reactions are currently unavailable
Currently
make packagefails due to missing pg_prometheus.soConsider changing --
pg_prometheus/Makefile
Line 63 in 5ac6ef8
to:
Additional question -- Is there a pre-built version
pg_prometheusavailable? Was looking specifically for a RPM and not the docker image.