[postgis-users] RE: Compile Problem with postgis (from Mark Cave-Ayland)

Darren Houston dhouston at beyondcompliance.ca
Thu Aug 26 18:29:01 PDT 2004


Hello Oli,

This may be the problem;

I see PostGIS is trying to compile for PostgreSQL 7.3.X (-DUSE_VERSION=73).
I'm not sure why this is happening, but you can edit the Makefile and set the 
variable USE_VERSION to =7.4

Also, I would recomend using PostGIS 0.8.2.

Hope this helps,

Darren H.

On August 26, 2004 05:54 pm, Oli Young wrote:
> >> [root at mojave][/usr/src/postgresql-7.4.3/build-tree/postgresql-7.4.3/
> >> contrib/postgis-0.7.5][0]: make
> >> i386-linux-gcc -DCHECK_RLIMIT_NOFILE -fno-strict-aliasing -g -Wall
> >> -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -g -I.
> >> -I../../src/include -D_GNU_SOURCE  -I/usr/include/tcl8.4 -DFRONTEND
> >> -DSYSCONFDIR='"/usr/etc/postgresql"' -DUSE_VERSION=73  -c -o
> >> postgis_estimate.o postgis_estimate.c
> >> postgis_estimate.c: In function `get_restriction_var':
> >> postgis_estimate.c:543: warning: assignment from incompatible
> >> pointer
> >> type
> >> postgis_estimate.c:545: warning: assignment from incompatible
> >> pointer
> >> type
> >> postgis_estimate.c: In function `genericcostestimate2':
> >> postgis_estimate.c:752: error: structure has no member named `elem'
> >> postgis_estimate.c:752: error: too few arguments to function
> >> `clauselist_selectivity'
> >> postgis_estimate.c:810: warning: passing arg 1 of
> >> `cost_qual_eval' from
> >> incompatible pointer type
> >> postgis_estimate.c:810: error: too few arguments to function
> >> `cost_qual_eval'
> >> postgis_estimate.c:810: error: void value not ignored as it
> >> ought to be
> >> make: *** [postgis_estimate.o] Error 1
> >>
> >> Any ideas ?
> >>
> >> Thanks in advance
> >> Oli
> >
> > 0.7.3 is quite an old release. Do you still have the same problem if
> > you
> > download and install the latest 0.8.2 release?
>
> I tried 0.8.2 first, and had the same problem, so i rolled back to the
> version mentioned in that walk through ..
>
> _______________________________________________
> 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