[Slackbuilds-users] Error Building postgis-1.4.0 on -13.1/32-bit

Rob McGee rob0 at slackbuilds.org
Tue Jul 26 23:57:19 UTC 2011

On Tue, Jul 26, 2011 at 04:44:44PM -0700, Rich Shepard wrote:
>   Probably user error in the configuration (I went with the default), but
> this is what I see when I try to build postgis-1.4.0:
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
> -fpic -I/usr/include  -I../liblwgeom -I. -I.
> -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal

If your PostgreSQL is installed from SBo SlackBuild, it was installed 
into /usr, not into /usr/local, but your postgis ./configure command 
is looking under /usr/local.

If your PostgreSQL is not installed from SBo SlackBuild, perhaps you 
should go back and install from SBo SlackBuild. :) Be sure to remove 
what you have in /usr/local.

> -D_GNU_SOURCE   -c -o lwgeom_accum.o lwgeom_accum.c
> lwgeom_accum.c: In function 'pgis_geometry_accum_transfn':
> lwgeom_accum.c:110: error: 'WindowAggState' has no member named 'wincontext'
> make[1]: *** [lwgeom_accum.o] Error 1
> make[1]: Leaving directory /tmp/SBo/postgis-1.4.0/postgis'
> make: *** [postgis] Error 2
>   Guidance on what to do to build this package is appreciated.
    Rob McGee - /dev/rob0 - rob0 at slackbuilds.org

More information about the SlackBuilds-users mailing list