[postgis-users] geos_version.sh

strk at refractions.net strk at refractions.net
Mon Oct 25 10:32:59 PDT 2004


On Mon, Oct 25, 2004 at 12:24:38PM -0500, David Bitner wrote:
> 
> Strk,
> What should the result of the original $(($major+$minor)) be. With $major=2
> and $minor=00, the result I am getting is just 2 -- which makes
> GEOS_LAST_INTERFACE = GEOS_FIRST_INTERFACE... could this be the problem?

No. It is correct. GEOS 2.0.x supports a single interface, numbered '2'.
--strk;

> 
> Thanks for your help,
> David
> 
> -----Original Message-----
> From: strk at refractions.net [mailto:strk at refractions.net]
> Sent: Monday, October 25, 2004 10:26 AM
> To: David Bitner
> Cc: Paul Ramsey
> Subject: Re: [postgis-users] geos_version.sh
> 
> 
> On Mon, Oct 25, 2004 at 10:19:59AM -0500, David Bitner wrote:
> > Ok, now everything goes through fine.  The problem I have now is that
> > postgis.sql is created, but it is a zero length file.
> 
> Maybe Paul will be of help here.
> --strk;
> 
> >
> > -----Original Message-----
> > From: strk at refractions.net [mailto:strk at refractions.net]
> > Sent: Monday, October 25, 2004 10:08 AM
> > To: David Bitner
> > Cc: postgis-users at postgis.refractions.net
> > Subject: Re: [postgis-users] geos_version.sh
> >
> >
> > On Mon, Oct 25, 2004 at 09:59:57AM -0500, David Bitner wrote:
> > > Doing this lets the gmake go through, but in postgis_geos_version.h
> there
> > is
> > > nothing set for GEOS_LAST_INTERFACE and so the make bombs out with
> errors.
> > > What format for the version is GEOS_LAST_INTERFACE expecting, can I just
> > > override this and set it by hand?
> >
> > That's not a good idea. Try this one instead:
> >  	last=`expr $major + $minor`
> > --strk;
> >
> >
> > >
> > > -----Original Message-----
> > > From: strk at refractions.net [mailto:strk at refractions.net]
> > > Sent: Monday, October 25, 2004 9:51 AM
> > > To: David Bitner
> > > Cc: postgis-users at postgis.refractions.net
> > > Subject: Re: [postgis-users] geos_version.sh
> > >
> > >
> > > On Mon, Oct 25, 2004 at 09:37:34AM -0500, David Bitner wrote:
> > > > When running make in PostGIS 0.9.0 using Geos 2.0.0 on Solaris 9
> (x86)I
> > > get
> > > > the following error stemming from geos_version.sh:
> > > >
> > > > ./geos_version.sh /opt/csw > postgis_geos_version.h
> > > > ./geos_version.sh: syntax error at line 25: `last=$' unexpected
> > > >
> > > > This comes from the line in geos_version.sh:
> > > > last=$(($major+$minor))
> > > >
> > > > Is there some incompatibility between bourne shells?  Any suggestions
> on
> > > how
> > > > I can fix this line?
> > >
> > > Please, try this:
> > > 	let last=$major+$minor
> > > --strk;
> > >
> > > >
> > > > Thanks,
> > > > David
> > > >
> > > >
> > > > _______________________________________________
> > > > postgis-users mailing list
> > > > postgis-users at postgis.refractions.net
> > > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > >
> >
> 



More information about the postgis-users mailing list