[postgis-users] building in CygWin

Matt Lynch matt at terraEngine.com
Mon Jan 20 08:11:36 PST 2003


Hi Chris,

Thanks for your suggestion.  I have tried it (both USE_VERSION and
US_PG73), but perhaps I am putting the declaration in the incorrect
position.  This is what I have done.

#---------------------------------------------------------------
# Test the version string and select the correct GiST index
# bindings.
#ifneq ($(findstring 7.1,$(VERSION)),)
#	USE_PG72=0
#else
#	USE_PG72=1
#endif
#USE_VERSION=73
USE_PG73=1

Thanks,

Matt


-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
chodgson at refractions.net
Sent: Friday, January 17, 2003 12:04 PM
To: MattLynch at acm.org; PostGIS Users Discussion
Subject: Re: [postgis-users] building in CygWin


I think the makefile is incorrectly determining which version of
postgres you 
are compiling against. If you look near the top of the makefile, you
will see a 
section of code which uses "findstring" to identify the postgres version
number.

Simply put:
USE_VERSION=73

or whichever is the correct version number, after the last endif in the
version 
determining section. 

HTH.
Chris

Quoting lynch.matt at shaw.ca:

> Hi,
> 
> I am trying to build PostGIS in Cygwin on a Win2K machine.  Postgres 
> is running ok, and I am done to what looks like one problem with the 
> PostGIS build.  I have been following the "NON-UNIX User's Guide to 
> Installing PostGIS on Windows" by Chip Hankley.
> 
> A snip of the build errors is below (they all refer to pred, so I have

> only included one)
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Matt
> 
> 
> <snip of build errors>
> 
> ...
> 
> 
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g  -I. 
> -I../../src/i
> nclude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'   -c -o
postgis_gist.o
> postg
> is_gist.c
> postgis_gist.c: In function `ggeometry_compress':
> postgis_gist.c:104: structure has no member named `pred'
> postgis_gist.c:114: structure has no member named `pred'
> 
> ...
> 
> </snip of build errors>
> 
> 
> _______________________________________________
> postgis-users mailing list postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 





_______________________________________________
postgis-users mailing list postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
 





More information about the postgis-users mailing list