[postgis-users] PostGIS binairy from CVS for Windows Updates

TECHER Jean David davidtecher at yahoo.fr
Mon Aug 16 05:12:43 PDT 2004


A. Ok Steffen

 I made the updates from postgis CVS according to strk

As usual You can download it at

	http://www.01map.com/download/postgis-082_geos-100_proj-447_assvg.zip

	Just let me know it is work without crashing :-)

I compiled from postgresql 09 august 2004, proj 4.4.7, geos 1.0.0

I didn't made the test what was crashed postgis...so let me know :-)

B. OK strk...I give you the commands I used for compil postgis with the last
CVS of postgis

Here is what I did..I always use CVS snapshot from

1...Compil Postgis with PROJ and without GEOS

In makefile:

	USE_PROJ=1
	PROJ_DIR=/c/postgres75_win32_postgis_082
	USE_GEOS=0
	GEOS_DIR=/c/postgres75_win32_postgis_082

Then from MinGW

	make distclean
	rm -f *.o
	make


2...Prepare GEOS for PostGIS with postgis_geos_wrapper.cpp

g++ -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns
-g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/c/postgres75_win32_postgis_0
82/etc"'
-DUSE_VERSION=75  -I/c/postgres75_win32_postgis_082/include  -DUSE_GEOS
 -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND
"-I../../src/include/port/win32"
   -c -o postgis_geos_wrapper.o postgis_geos_wrapper.cpp


3... Compil PostGIS with PROJ and GEOS (= with all :) )
 Then

 make clean

 In makefile I do

	USE_PROJ=1
	PROJ_DIR=/c/postgres75_win32_postgis_082
	USE_GEOS=1
	GEOS_DIR=/c/postgres75_win32_postgis_082

Then

	make

	and

	make install

...OK for all

4...What stills to do ???

Seems that make install doesn't install the loader/dumper in the dir 'bin'
of postgresql

So I copy the executables shp2pgsql/pgsql2shp.exe manually to
c:\postgres75_win32_postgis_082\bin

TECHER JEAN DAVID
- Responsable Informatique 01MAP -
e-mail:davidtecher at yahoo.fr
Tel: 06 85 37 36 75
Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm






More information about the postgis-users mailing list