id summary reporter owner description type status priority milestone component version resolution keywords cc 3390 Compilation under Alpine Linux 3.2 gives an error when compiling the postgis and postgis_topology extension boonen pramsey "I've downloaded the 2.2.0 distribution and compiled it using the standard building tools of Alpine Linux 3.2. When building the extensions postgis and postgis_topology I get the following error: {{{ cp ../../doc/raster_comments.sql sql_bits/raster_comments.sql sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' ../../spatial_ref_sys.sql > sql_bits/spatial_ref_sys.sql mkdir -p sql echo '\echo Use ""CREATE EXTENSION postgis"" to load this file. \quit' > sql/postgis.sql cat sql_bits/postgis.sql sql_bits/postgis_comments.sql sql_bits/rtpostgis.sql sql_bits/mark_editable_objects.sql.in sql_bits/raster_comments.sql sql_bits/spatial_ref_sys.sql >> sql/postgis.sql mkdir -p sql cp sql/postgis.sql sql/postgis--2.2.0.sql mkdir -p sql cat ../../postgis/postgis.sql ../../raster/rt_pg/rtpostgis.sql | /bin/sh /usr/lib/postgresql/pgxs/src/makefiles/../../config/missing perl ../../utils/create_unpackaged.pl postgis > sql/postgis--unpackaged--2.2.0.sql /bin/sh: can't open '/usr/lib/postgresql/pgxs/src/makefiles/../../config/missing' Makefile:50: recipe for target 'sql/postgis--unpackaged--2.2.0.sql' failed make: *** [sql/postgis--unpackaged--2.2.0.sql] Error 2 make: *** Deleting file 'sql/postgis--unpackaged--2.2.0.sql' }}} Note, this resembles the problem in issue #3004. I can work around this issue by defining the PERL variable in the Makefile after the lines {{{ PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) }}} in the Makefile. So, it seems the PGXS is messing up my variables." defect closed medium PostGIS 2.2.1 postgis 2.2.x fixed