[Mapserver-users] MS build instructions for Mac OS X (and update)

Frank Warmerdam warmerdam at pobox.com
Thu Jul 15 13:03:21 EDT 2004


Bill Stephenson wrote:
> Things were going smoothly on my OS X install until I got to PostGIS.  
> I'm not sure where I'm screwing up here, but this is what I'm getting  
> when running "make":
> ====================================
> macbill$ make
> gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes  
> -Wmissing-declarations  -g -I/usr/local/include -I. -I../../src/include  
> -I/sw/include/ -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  
> -DUSE_PROJ -DUSE_VERSION=73 -DUSE_STATS  -c -o postgis_transform.o  
> postgis_transform.c
> postgis_transform.c: In function `pj_transform_nodatum':
> postgis_transform.c:54: error: structure has no member named  `is_latlong'
> postgis_transform.c:73: error: structure has no member named  `is_latlong'
> postgis_transform.c: In function `transform_geom':
> postgis_transform.c:251: error: structure has no member named  `is_latlong'
> postgis_transform.c:257: warning: implicit declaration of function  
> `pj_transform'
> postgis_transform.c:278: error: structure has no member named  `is_latlong'
> postgis_transform.c:293: error: structure has no member named  `is_latlong'
> postgis_transform.c:319: error: structure has no member named  `is_latlong'
> postgis_transform.c:325: error: structure has no member named  `is_latlong'
> postgis_transform.c:353: error: structure has no member named  `is_latlong'
> postgis_transform.c:366: error: structure has no member named  `is_latlong'
> postgis_transform.c:396: error: structure has no member named  `is_latlong'
> make: *** [postgis_transform.o] Error 1
> Bill-Stephensons-Computer:/usr/local/src/postgresql-7.4.3/contrib/ 
> postgis-0.7.5 macbill$
> ====================================
> 
> I've successfully install the Proj.4 libraries and took a look at the  
> "Makefile" but don't really see what I need to change.

Bill,

This looks like you have an old PROJ.4.  Try upgrading to 4.4.8.  Make
sure there aren't any old PROJ.4 include files sitting around somewhere
screwing you up.  The is_latlong structure member was added a year or two
ago.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list