[postgis-users] geos_version.sh

David Bitner bitner at macnoise.com
Mon Oct 25 07:59:57 PDT 2004


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?

-----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