[postgis-users] Re: Problems compililng postgis-1.0.0RC2 and RC3 with proj4 support]

Donald J Miller Donald.J.Miller at noaa.gov
Thu Feb 24 13:04:09 PST 2005


Hello again!

I found the source of the problem.  Apparently I indadvertenly installed 
an older version of Proj 4 rpm (4.4.4.1) by mistake.  I compiled the 
latest version of Proj4 and now postgis 1.0RC3 compiles fine. 

Don


Donald J. Miller III wrote:

> Hello,
>
> I am attempting to compile postgis 1.0 RC2 and RC3 with GEOS and Proj 
> 4 support but to no avail.  I even get failures with 0.9.1.  I am 
> running postgres 8.0.1, compiled with -lstdc++, geos 2.1.1 and proj 
> 4.4.9.
> Make returns the following errors:
>
> make -C lwgeom
> make[1]: Entering directory 
> `/tmp/postgresql-8.0.1/contrib/postgis/lwgeom'
> sh ../geos_version.sh /usr/local > postgis_geos_version.h
> gcc -I/usr/local/ssl/include -Wall -Wmissing-prototypes 
> -Wpointer-arith -Wdeclaration-after-statement -fno-strict-aliasing -g 
> -fexceptions -fPIC -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.0.0RC3"' 
> -DPOSTGIS_SCRIPTS_VERSION='"0.2.0"' -DPOSTGIS_BUILD_DATE='"2005-02-24 
> 19:52:20"' -I/usr/local/include -DUSE_GEOS -I/usr/local/include 
> -DUSE_PROJ  -I/usr/local/include -DAUTOCACHE_BBOX=1  -DUSE_STATS -fpic 
> -I/tmp/postgresql-8.0.1/contrib/postgis/../../src/include 
> -D_GNU_SOURCE   -c -o lwgeom_transform.o lwgeom_transform.c
> make[1]: Leaving directory `/tmp/postgresql-8.0.1/contrib/postgis/lwgeom'
> lwgeom_transform.c: In function `pj_transform_nodatum':
> lwgeom_transform.c:59: structure has no member named `is_latlong'
> lwgeom_transform.c:78: structure has no member named `is_latlong'
> lwgeom_transform.c: In function `transform_point':
> lwgeom_transform.c:352: structure has no member named `is_latlong'
> lwgeom_transform.c:353: warning: implicit declaration of function 
> `pj_transform'
> lwgeom_transform.c:371: structure has no member named `is_latlong'
> make[1]: *** [lwgeom_transform.o] Error 1
> make: *** [liblwgeom] Error 2
>
> Thanks for any assistance.
>
> Don
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: donald.j.miller.vcf
Type: text/x-vcard
Size: 358 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050224/48754db2/attachment.vcf>


More information about the postgis-users mailing list