Opened 9 years ago

Closed 9 years ago

#3237 closed defect (fixed)

PostGIS no longer installs, but liblwgeom does

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: windows, mingw64 Cc:

Description

I suppose this could be user error, but I can no longer get PostGIS to install. It just installs liblwgeom.

It also pays attention to the prefix and installs liblwgeom based on the prefix setting.

My config looks like this:

  PostGIS is now configured for x86_64-w64-mingw32

 -------------- Compiler Info -------------
  C compiler:           x86_64-w64-mingw32-gcc -g -O2
  C++ compiler:         x86_64-w64-mingw32-g++ -g -O2
  SQL preprocessor:     /mingw/bin/cpp -traditional-cpp -w -P

 -------------- Dependencies --------------
  GEOS config:          /projects/geos/rel-3.5.0devw64gcc48/bin/geos-config
  GEOS version:         3.5.0dev
  GDAL config:          /projects/gdal/rel-2.0.0w64gcc48/bin/gdal-config
  GDAL version:         2.0.0
  PostgreSQL config:    /projects/postgresql/rel/pg9.4w64gcc48/bin/pg_config
  PostgreSQL version:   PostgreSQL 9.4.4
  PROJ4 version:        49
  Libxml2 config:       /projects/libxml/rel-libxml2-2.7.8w64gcc48/bin/xml2-config
  Libxml2 version:      2.7.8
  JSON-C support:       yes
  PCRE support:       yes
  PostGIS debug level:  0
  Perl:                 /bin/perl

 --------------- Extensions ---------------
  PostGIS Raster:       enabled
  PostGIS Topology:     enabled
  SFCGAL support:       disabled
  Address Standardizer support:       enabled

 -------- Documentation Generation --------
  xsltproc:             /projects/xsltproc/xsltproc
  xsl style sheets:     /projects/docbook/docbook-xsl-1.76.1
  dblatex:
  convert:              /c/Windows/system32/convert
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

and tests run etc, but when I go to do

make & make install

from the root of source tree as I always do when trying to install, I get this:

libtool: link: ar cru .libs/liblwgeom.a stringbuffer.o bytebuffer.o measures.o measures3d.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwtriangle.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwcircstring.o lwcompo
lwgeom_topo.o lwgeom_transform.o lwunionfind.o effectivearea.o varint.o lwspheroid.o
libtool: link: ranlib .libs/liblwgeom.a
libtool: link: rm -fr .libs/liblwgeom.lax
libtool: link: ( cd ".libs" && rm -f "liblwgeom.la" && cp -pR "../liblwgeom.la" "liblwgeom.la" )
make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
PostGIS was built successfully. Ready to install.
/bin/perl utils/svn_repo_revision.pl
Not updating existing rev file at 13902
for s in liblwgeom; do \
        echo "---- Making all in ${s}"; \
        make -C ${s} all || exit 1; \
done;
---- Making all in liblwgeom
make[1]: Entering directory `/projects/postgis/branches/2.2/liblwgeom'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
PostGIS was built successfully. Ready to install.
make -C doc comments-install
make[1]: Entering directory `/projects/postgis/branches/2.2/doc'
/bin/perl -lpe "s'@@LAST_RELEASE_VERSION@@'2.2.0dev'g;s'@@POSTGIS_DOWNLOAD_URL@@'http://postgis.net/stuff'g;" postgis.xml > postgis-out.xml
/projects/xsltproc/xsltproc --novalid ./xsl/postgis_aggs_mm.xml.xsl postgis-out.xml > postgis_aggs_mm.xml
/projects/xsltproc/xsltproc --novalid ./xsl/postgis_comments.sql.xsl postgis-out.xml > postgis_comments.sql
/projects/xsltproc/xsltproc --novalid ./xsl/raster_comments.sql.xsl postgis-out.xml > raster_comments.sql
/projects/xsltproc/xsltproc --novalid ./xsl/topology_comments.sql.xsl postgis-out.xml > topology_comments.sql
/projects/xsltproc/xsltproc --novalid ./xsl/sfcgal_comments.sql.xsl postgis-out.xml > sfcgal_comments.sql
/projects/xsltproc/xsltproc --novalid ./xsl/tiger_geocoder_comments.sql.xsl postgis-out.xml > tiger_geocoder_comments.sql
make -f Makefile.comments install
make[2]: Entering directory `/projects/postgis/branches/2.2/doc'
/bin/mkdir -p 'c:/MING64~1/projects/POSTGR~1/rel/PG9~1.4W6/share/contrib/postgis-2.2'
/bin/install -c -m 644 postgis_comments.sql raster_comments.sql topology_comments.sql sfcgal_comments.sql 'c:/MING64~1/projects/POSTGR~1/rel/PG9~1.4W6/share/contrib/postgis-2.2/'
make[2]: Leaving directory `/projects/postgis/branches/2.2/doc'
make[1]: Leaving directory `/projects/postgis/branches/2.2/doc'
for s in liblwgeom; do \
        echo "---- Making install in ${s}"; \
        make -C ${s} install || exit 1; \
done;
---- Making install in liblwgeom
make[1]: Entering directory `/projects/postgis/branches/2.2/liblwgeom'
/bin/sh ../libtool --mode=install /bin/sh ../install-sh liblwgeom.la "/usr/local/lib/liblwgeom.la"
libtool: install: /bin/sh ../install-sh .libs/liblwgeom.dll.a /usr/local/lib/liblwgeom.dll.a
libtool: install: base_file=`basename liblwgeom.la`
libtool: install:  dlpath=`/bin/sh 2>&1 -c '. .libs/'liblwgeom.la'i; echo liblwgeom-2.dll'`
libtool: install:  dldir=/usr/local/lib/`dirname ../bin/liblwgeom-2.dll`
libtool: install:  test -d /usr/local/lib/../bin || mkdir -p /usr/local/lib/../bin
libtool: install:  /bin/sh ../install-sh .libs/liblwgeom-2.dll /usr/local/lib/../bin/liblwgeom-2.dll
libtool: install:  chmod a+x /usr/local/lib/../bin/liblwgeom-2.dll
libtool: install:  if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /usr/local/lib/../bin/liblwgeom-2.dll' || exit 0; fi
libtool: install: /bin/sh ../install-sh .libs/liblwgeom.lai /usr/local/lib/liblwgeom.la
libtool: install: /bin/sh ../install-sh .libs/liblwgeom.a /usr/local/lib/liblwgeom.a
libtool: install: chmod 644 /usr/local/lib/liblwgeom.a
libtool: install: ranlib /usr/local/lib/liblwgeom.a
/bin/sh ../install-sh -m 0644 liblwgeom.h "/usr/local/include/liblwgeom.h"
/bin/sh ../install-sh -m 0644 liblwgeom_topo.h "/usr/local/include/liblwgeom_topo.h"
make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'

and my postgis and rtpostgis*dlls are no where in sight where they are supposed to be.

Change History (1)

comment:1 by robe, 9 years ago

Resolution: fixed
Status: newclosed

False alarm. pramsey fixed my issue. I had sh autogen.sh remarked out in my make script.

nevermind.

Note: See TracTickets for help on using tickets.