Hi list!<div>I'm trying to build postgis from source on a snow leopard machine.</div><div>So I download the 1.5.3 source, configure like this:</div><div><br></div><div><i>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</i></div>
<div><br></div><div>and get a successful result:</div><div><div><br></div><div> PostGIS is now configured for x86_64-apple-darwin10.7.0</div><div><br></div><div> -------------- Compiler Info ------------- </div><div>  C compiler:           gcc -g -O2</div>
<div>  C++ compiler:         g++ -g -O2</div><div><br></div><div> -------------- Dependencies -------------- </div><div>  GEOS config:          /opt/geos/bin/geos-config</div><div>  GEOS version:         3.3.0</div><div>  PostgreSQL config:    /opt/pgsql/bin/pg_config</div>
<div>  PostgreSQL version:   PostgreSQL 9.1beta3</div><div>  PROJ4 version:        47</div><div>  Libxml2 config:       /usr/bin/xml2-config</div><div>  Libxml2 version:      2.7.3</div><div>  PostGIS debug level:  0</div>
<div><br></div><div> -------- Documentation Generation -------- </div><div>  xsltproc:             /usr/bin/xsltproc</div><div>  xsl style sheets:     </div><div>  dblatex:              </div><div>  convert:              </div>
</div><div><br></div><div>Then I do </div><div><i>sudo make</i></div><div>And get an error:</div><div><div><br></div><div>  "_lwline_free", referenced from:</div><div>      _askml2_inspected_buf in lwgeom_kml.o</div>
<div>      _askml2_inspected_size in lwgeom_kml.o</div><div>ld: symbol(s) not found for architecture i386</div><div>collect2: ld returned 1 exit status</div><div>lipo: can't open input file: /var/tmp//ccsIJfa2.out (No such file or directory)</div>
<div>make[1]: *** [<a href="http://postgis-1.5.so">postgis-1.5.so</a>] Error 1</div><div>make: *** [postgis] Error 2</div></div><div><br></div><div>So I've checked my /var/tmp dir and I really don't have <i>ccsIJfa2.out</i> file.</div>
<div>What am I doing wrong here?</div><div><br></div>