[postgis-devel] build failure in pkgsrc, deep in pgxs

Greg Troxel gdt at lexort.com
Sat Oct 8 07:14:59 PDT 2022


Greg Troxel <gdt at lexort.com> writes:

>   ---- Making install in topology
>   gmake[2]: Entering directory '/tmp/databases/postgresql-postgis2/work/postgis-3.3.1/topology'
>   /bin/sh ../config/install-sh -c -d '/tmp/databases/postgresql-postgis2/work/.destdir/usr/pkg/lib/postgresql'
>   /bin/sh: Can't open ../config/install-sh

This seems to be because pgxs ends up with

  install_sh = $(SHELL) $(top_srcdir)/config/install-sh -c

and

  MKDIR_P = ${SHELL} ${top_srcdir}/config/install-sh -c -d

and when it tries to use it, top_srcdir is not defined, because topology
does not set it.

So:

  is my postgresql build broken, and if so why and how?

  is topology/Makefile.in broken because it uses pgxs and does not
  define top_srcdir?

  something else?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20221008/2bc27faa/attachment.sig>


More information about the postgis-devel mailing list