[postgis-users] Installation errors...

Paul Ramsey pramsey at refractions.net
Fri Oct 17 11:05:46 PDT 2003


Why are you not using 0.7.5?

Azeem M. Suleman wrote:

> Hi All,
>  
> I have Redhat Linux 7.2 and i downloaded postgis-0.7.2 and i have 
> PostgreSQL 7.1.3  already installed and working. But i don't have its 
> source, so i downloaded postgresql-7.3.4 as source and then unzipped 
> postgis-0.7.2 in the contrib directory. I then followed the step to 
> compile the postgis-0.7.2.
>  
> 1. make and got these errors:
> root at descartes <mailto:root at descartes> postgis-0.7.2]# make
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -g  -I. 
> -I../../src/include  -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'   
> -c -o postgis_gist.o postgis_gist.c
> postgis_gist.c: In function `ggeometry_compress':
> postgis_gist.c:104: structure has no member named `pred'
> postgis_gist.c:114: structure has no member named `pred'
> postgis_gist.c:120: structure has no member named `pred'
> postgis_gist.c:126: warning: assignment makes integer from pointer 
> without a cast
> postgis_gist.c:130: warning: assignment makes integer from pointer 
> without a cast
> postgis_gist.c: In function `ggeometry_consistent':
> postgis_gist.c:155: structure has no member named `pred'
> postgis_gist.c:160: structure has no member named `pred'
> postgis_gist.c:166: structure has no member named `pred'
> postgis_gist.c: In function `rtree_union':
> postgis_gist.c:338: structure has no member named `pred'
> postgis_gist.c:343: structure has no member named `pred'
> postgis_gist.c:331: warning: `tmp' might be used uninitialized in this 
> function
> postgis_gist.c: In function `rtree_penalty':
> postgis_gist.c:364: structure has no member named `pred'
> postgis_gist.c:364: structure has no member named `pred'
> postgis_gist.c:368: structure has no member named `pred'
> postgis_gist.c: In function `rtree_picksplit':
> postgis_gist.c:406: structure has no member named `pred'
> postgis_gist.c:408: structure has no member named `pred'
> postgis_gist.c:453: structure has no member named `pred'
> postgis_gist.c:455: structure has no member named `pred'
> postgis_gist.c:459: structure has no member named `pred'
> postgis_gist.c:461: structure has no member named `pred'
> postgis_gist.c:499: structure has no member named `pred'
> postgis_gist.c:524: warning: assignment makes integer from pointer 
> without a cast
> postgis_gist.c:525: warning: assignment makes integer from pointer 
> without a cast
> postgis_gist.c:379: warning: `datum_alpha' might be used uninitialized 
> in this function
> postgis_gist.c:379: warning: `datum_beta' might be used uninitialized in 
> this function
> make: *** [postgis_gist.o] Error 1
> 2. make install and same errors.
>  
> I didn't tried these after 2nd step.
>  
> 3.createlang plpgsql yourtestdatabase
> 4.psql -d yourtestdatabase -f postgis.sql
> 5.psql -d yourtestdatabase -f spatial_ref_sys.sql
>  
> I would really appreciate if someone could help me out.
>  
> Thanks.
>  
> Regards,
>  
> Azeem.


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the postgis-users mailing list