[postgis-devel] Installing PostGIS CVS

Markus Schaber schabios at logi-track.com
Fri Dec 17 07:34:43 PST 2004


Hi, strk,

I just had my first try at installing current PostGIS CVS HEAD, this are
my experiences:

First, the following patch fixes the libgeos/Makefile on a fresh CVS checkout
where the eXecute permission bit is not set:

Index: lwgeom/Makefile
===================================================================
RCS file: /home/cvs/postgis/postgis/lwgeom/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- lwgeom/Makefile     13 Dec 2004 13:04:41 -0000      1.49
+++ lwgeom/Makefile     17 Dec 2004 15:12:16 -0000
@@ -146,7 +146,7 @@
 #----------------------------------------------------------
 
 detect_geos_version: 
-       ../geos_version.sh $(GEOS_DIR) > postgis_geos_version.h
+       sh ../geos_version.sh $(GEOS_DIR) > postgis_geos_version.h
 
 installdirs:
        $(mkinstalldirs) $(libdir)


Then, after fixing my pathes in Makefile.config, compiling and make
install went fine, apart from loads of warnings. Most of them are tsort
complaining about loops.

But then, running the lwpostgis.sql fails with the following error:

psql:/usr/share/postgresql/lwpostgis.sql:432: ERROR:  could not find
function "LWGEOM_gist_joinsel" in file
"/usr/lib/postgresql/lib//liblwgeom.so.1.0"

It seems that LWGEOM_gist_joinsel currently is only implemented for pg8,
so current CVS does not work with postgis 7.4.

HTH,
Markus
-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com



More information about the postgis-devel mailing list