[postgis-users] Error when building from source on mac os x 10.6
Gis Mage
gismage at gmail.com
Sun Oct 17 09:36:26 PDT 2010
Hi list!
I'm trying to build postgis from source on a snow leopard machine.
So I download the 1.5.3 source, configure like this:
*sudo ./configure --prefix=/opt/postgis
--with-pgconfig=/opt/pgsql/bin/pg_config --mandir=/opt/pgsql/man
--with-geosconfig=/opt/geos/bin/geos-config --with-projdir=/opt/proj*
and get a successful result:
PostGIS is now configured for x86_64-apple-darwin10.7.0
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
-------------- Dependencies --------------
GEOS config: /opt/geos/bin/geos-config
GEOS version: 3.3.0
PostgreSQL config: /opt/pgsql/bin/pg_config
PostgreSQL version: PostgreSQL 9.1beta3
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.3
PostGIS debug level: 0
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert:
Then I do
*sudo make*
And get an error:
"_lwline_free", referenced from:
_askml2_inspected_buf in lwgeom_kml.o
_askml2_inspected_size in lwgeom_kml.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccsIJfa2.out (No such file or
directory)
make[1]: *** [postgis-1.5.so] Error 1
make: *** [postgis] Error 2
So I've checked my /var/tmp dir and I really don't have *ccsIJfa2.out* file.
What am I doing wrong here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101017/a0ca55cc/attachment.html>
More information about the postgis-users
mailing list