[postgis-tickets] [PostGIS] #5197: out-of-tree build not working under mingw
PostGIS
trac at osgeo.org
Mon Aug 1 16:44:29 PDT 2022
#5197: out-of-tree build not working under mingw
-----------------------------------+---------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.0
Component: build/upgrade/install | Version: master
Keywords: |
-----------------------------------+---------------------------
Not sure if it's just my setup or all mingw64, but I was trying to build
with out-of-tree, to debug the issue I caused with out-of-tree on my
commit for #5195.
However my build always fails before it gets to that point:
with:
{{{
/mingw64/bin/cpp -traditional-cpp -w -P -I./../../postgis
/projects/postgis/postgis-
git/extensions/postgis/../../postgis/postgis.sql.in | grep -v '^#' | \
/usr/bin/perl -lpe \
"s'MODULE_PATHNAME'\$libdir/postgis-3.3'g" \
| /usr/bin/perl -pe 's/BEGIN\;//g ; s/COMMIT\;//g' >
sql/postgis_for_extension.sql
/bin/sh: line 4: sql/postgis_for_extension.sql: No such file or directory
<built-in>: fatal error: when writing output to : Invalid argument
compilation terminated.
make[2]: *** [Makefile:138: sql/postgis_for_extension.sql] Error 1
make[2]: Leaving directory '/projects/postgis/tmp/postgis-
build/3.3/extensions/postgis'
make[1]: *** [Makefile:29: all] Error 1
make[1]: Leaving directory '/projects/postgis/tmp/postgis-
build/3.3/extensions'
make: *** [GNUmakefile:24: all] Error 1
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5197>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list