[postgis-users] Building with mingw32

Romi Hardiyanto rodin at ewesewes.net
Thu May 13 04:17:42 PDT 2004


Dear David,

Apparently, didn't catch much time today. But attached is the diffs you 
must applied before configure. One is for pgsql and one for postgis.The 
pgsql.diff  changed vacuum.h in top_srcdir/src/include/command.  The 
postgis.diff changed postgis.h, postgis_inout.c, and Makefile for 
loader. I'll do regress later.
-----
GEOS version is 1.0.0
PROJ version is 4.4.7
PostgreSQL and PostGIS from latest CVS
-----
GEOS configure command is ./configure --prefix=/d/projects/build/geos
PROJ configure command is ./configure --prefix=/d/projects/build/proj
PostgreSQL configure command is ./configure 
--prefix=/d/projects/build/pgsql --without-zlib (Yes, i didn't installed 
zlib)
PostgGIS Makefile is:
# Configuration Directives

#---------------------------------------------------------------
# Set USE_PROJ to 1 for Proj4 reprojection support
#
USE_PROJ=1
ifeq (${PROJ_DIR},)
    PROJ_DIR=/d/projects/build/proj
endif

#---------------------------------------------------------------
# Set USE_GEOS to 1 for GEOS spatial predicate and operator
# support
#
USE_GEOS=1
ifeq (${GEOS_DIR},)
    GEOS_DIR=/d/projects/build/geos
endif

#---------------------------------------------------------------
# Set USE_STATS to 1 for new GiST statistics collection support
# Note that this support requires additional columns in
# GEOMETRY_COLUMNS, so see the list archives for info or
# install a fresh database using postgis.sql
#
USE_STATS=1

Note: if you had error initdb'ing PGDATA, you have to copy libpq.dll 
from pgsql\lib to pgsql\bin directory. Many PostgreSQL executables 
depends on this library so it is best to copy them to pgsql\bin location 
(Actually, you can set PATH environment variable to point pgsql\bin and 
pgsql\lib).

Romi H


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pgsql.diff
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040513/71f17869/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: postgis.diff
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040513/71f17869/attachment-0001.ksh>


More information about the postgis-users mailing list