[postgis-users] Mac OS X Server 10.3 info: postgis 0.9.0 works with postgresql-7.4.2
Kevin Belanger
kevin.belanger at shaw.ca
Sat Sep 25 21:17:42 PDT 2004
Folks,
In case others out there have previously struggled with PostGIS and the
OS X dynamic linker, as of 10.3 (at least OS X Server) it is no longer
an issue.
Somebody at Refractions might wanna brag about this to Apple - they
love adding neat-o open-source tools to their "now works on OS X" list.
And i'd love to see some spatial query benchmarks against a Linux box.
;-)
Cheers,
Kevin
P.S. Details of build:
readline-5.0
I couldn't get fink to install readline as per apple's instructions at:
http://developer.apple.com/internet/opensource/postgres.html
so I just downloaded the source and did a gnu standard: 'configure,
make, make install'.
geos-2.0.0 no issues
proj-4.4.8 no issues
postgis-0.9.0
Mac OS X doesn't like prepended LDFLAGS as per PostGIS INSTALL doc.
Instead, use:
sudo ./configure --with-includes=/sw/include/ --with-libraries=/sw/lib
LDFLAGS="-lstdc++ -L/usr/local/lib"
postgresql-7.4.2
while postgresql-7.4.5 is current, i couldn't get it to make:
fe-misc.c: In function `pqSocketPoll':
fe-misc.c:1012: storage size of `input_fd' isn't known
fe-misc.c:1019: `POLLERR' undeclared (first use in this function)
fe-misc.c:1019: (Each undeclared identifier is reported only once
fe-misc.c:1019: for each function it appears in.)
fe-misc.c:1023: `POLLIN' undeclared (first use in this function)
fe-misc.c:1025: `POLLOUT' undeclared (first use in this function)
fe-misc.c:1040: warning: implicit declaration of function `poll'
fe-misc.c:1012: warning: unused variable `input_fd'
make[3]: *** [fe-misc.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1724 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040925/5519f6bd/attachment.bin>
More information about the postgis-users
mailing list