[postgis-users] successful build of postgis on OSX10.3.2

Byron Amerson byronea at u.washington.edu
Fri Dec 19 18:45:31 PST 2003

It took a little work but it seems that things are working smoothly.

Gcc3.4 was required. Gcc-3.4 builds with the needed shared libs for
libstdc++. After gcc-3.4 is built, the file /usr/include/mach-o/dyld.h
needs to be modified. Add the line: #define __private_extern__ extern
just above the block:
#if defined(__MWERKS__) && !defined(__private_extern__)
#define __private_extern__ __declspec(private_extern)

Credit for the dyld.h fix goes to Andrew Pinski at the mac unix-porting

I re-compiled proj4, geos-1.0 and posgresql-7.4 using the new gcc3.4 and
then followed the directions for building postgis in README.postgis.

Success (finally...).

Byron Amerson
MS student
University of Washington
Department of Earth and Space Sciences

More information about the postgis-users mailing list