[postgis-devel] Re: [postgis-users] Troubles in the installation

strk strk at keybit.net
Fri Nov 21 06:03:49 PST 2003


It seems that postgis thinks it's being compiled against postgresql 7.3,
while it is postgresql 7.4. Does it sound ?

What version of postgis is that anyway ? Would you try latest CVS ?

--strk;

holgerzebner wrote:
> May I kindly ask for your help again?
> 
> > You need postgresql source available in order to build postgis.
> > Once you have it either unpack postgis sources under PGSRC/contrib
> Did it and checkinstall went a little further but then stoped with some errore 
> msg I can't inerpret.
> 
> See my typescript below.
> 
> Thank you
> Holger
> 
> 
>  Script wurde gestartet: Fr 21 Nov 2003 14:49:36 CET
> checkinstall make
> 
> checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
>            This software is released under the GNU GPL.
> 
> 
> 
> Installing with "make"...
> 
> ========================= Installation results ===========================
> 
> Copying documentation directory...
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations 
> -fpic -g -I. -I../../src/include -D_GNU_SOURCE  -DFRONTEND -DSYSCONFDIR='"/
> usr/local/pgsql/etc"' -DUSE_VERSION=73  -c -o postgis_estimate.o 
> postgis_estimate.c
> postgis_estimate.c: In function `get_restriction_var':
> postgis_estimate.c:543: Warnung: assignment from incompatible pointer type
> postgis_estimate.c:545: Warnung: 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: Warnung: 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] Fehler 1
> 
> ****  Installation failed. Aborting package creation.
> 
> Restoring overwritten files from backup...OK
> 
> Cleaning up...OK
> 
> Bye.
> 
> 
> [root:/usr/local/src/postgresql-7.4/contrib/postgis#780]# make
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations 
> -fpic -g -I. -I../../src/include -D_GNU_SOURCE  -DFRONTEND -DSYSCONFDIR='"/
> usr/local/pgsql/etc"' -DUSE_VERSION=73  -c -o postgis_estimate.o 
> postgis_estimate.c
> postgis_estimate.c: In function `get_restriction_var':
> postgis_estimate.c:543: Warnung: assignment from incompatible pointer type
> postgis_estimate.c:545: Warnung: 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: Warnung: 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] Fehler 1
> [root:/usr/local/src/postgresql-7.4/contrib/postgis#781]#
> Script beendet: Fr 21 Nov 2003 14:50:25 CET
> 
> 



More information about the postgis-devel mailing list