[postgis-users] Makefile syntax problem with 1.2/8.2?

Thy, Kristian Kristian.Thy at atkinsglobal.com
Mon Feb 19 01:01:09 PST 2007


From: Devrim GUNDUZ
> On Wed, 2006-12-13 at 12:59 +0000, Nick Bower wrote:
> > Hi.  This is weirding me out - I'm not new to Postgis/Postgres, but an
> > getting a compilation syntax error when building using FC6 packaged
> > proj/geos. Any ideas? 
> 
> I just got the same error. Applying this patch solved my problem; but
> I'm not sure whether this is the right fix or not:
> 
> =========================
> --- configure.old       2006-12-25 14:39:26.000000000 +0200
> +++ configure   2006-12-25 14:39:35.000000000 +0200
> @@ -4609,13 +4609,6 @@
>         GEOS_DIR=`$GEOSCONFIG --prefix`
> 
>         GEOS_LDFLAGS=`$GEOSCONFIG --ldflags 2> /dev/null`
> -       if test x"$GEOS_LDFLAGS" = "x"; then
> -               # older geos-config versions did not
> -               # support the --ldflags switch, we'll
> -               # default to GEOS_DIR/lib in this case.
> -               #
> -               GEOS_LDFLAGS="$GEOS_DIR/lib"
> -       fi
> 
>         GEOS_MAJOR=`$GEOSCONFIG --version | cut -d. -f1`
>         if test "$GEOS_MAJOR" = "@GEOS_VERSION@"; then
> 
> =========================

As far as I can tell the upshot of this was that the problem is best
fixed by upgrading libgeos. I'm stuck with libgeos 2.1 - can anybody
confirm that Devrims .configure patch solves the problem without
introducing other errors?

best regards,
-- 
Kristian Thy
GIS Developer
Atkins Danmark 
Transport, Miljø og GIS 
Arne Jacobsens Allé 17 
2300 København S 
tel: (+45) 8233 9366


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

Consider the environment. Please don't print this e-mail unless you really need to. 



More information about the postgis-users mailing list