[postgis-users] compile win_wkt_parse.y syntax error

Paul Ramsey pramsey at opengeo.org
Wed Apr 18 14:14:38 PDT 2012


I think you'll have to install bison and not use yacc.
P.

On Wed, Apr 18, 2012 at 1:07 PM, Gold, Jack L  (US SSA)
<jack.gold at baesystems.com> wrote:
> I’m getting a byacc: e – line 99 of “lwin_wkt_parse.y”, syntax error.  The
> configuration appears to be correct, but I’m not sure where to go now to
> figure out what is going wrong.  Below is the bottom of the make dump:
>
>
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwpsurface.c -o lwpsurface.o
>>/dev/null 2>&1
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwtin.c -o lwtin.o >/dev/null
> 2>&1
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwout_wkb.c  -fPIC -DPIC -o
> .libs/lwout_wkb.o
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwin_wkb.c  -fPIC -DPIC -o
> .libs/lwin_wkb.o
>
> /bin/sh ..//libtool --mode=compile gcc -g -O2  -fPIC -DPIC
> -I/usr/local/include  -c -o lwout_wkt.lo lwout_wkt.c
>
> byacc  lwin_wkt_parse.y
>
>  gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwout_wkb.c -o lwout_wkb.o
>>/dev/null 2>&1
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwout_wkt.c  -fPIC -DPIC -o
> .libs/lwout_wkt.o
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwin_wkb.c -o lwin_wkb.o
>>/dev/null 2>&1
>
> byacc: e - line 99 of "lwin_wkt_parse.y", syntax error
>
> %locations
>
> ^
>
> make[1]: *** [lwin_wkt_parse.c] Error 1
>
> make[1]: *** Waiting for unfinished jobs....
>
> gcc -g -O2 -fPIC -DPIC -I/usr/local/include -c lwout_wkt.c -o lwout_wkt.o
>>/dev/null 2>&1
>
> make[1]: Leaving directory
> `/home/ciduser/workspace/DB/PostGIS_2.0/postgis-2.0.1SVN/liblwgeom'
>
> make: *** [all] Error 1
>
>
> _______________________________________________
> 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