<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma><FONT size=2>Eliot Cline<SPAN 
class=680222409-18092003><FONT face=Arial color=#0000ff>  
writes: </FONT></SPAN></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2>I have setup PostgreSQL/postgis-0.75 succesfully 
  using Cygwin on a Win2K box. I would really like to try out the features of 
  the cvs version using the geos libs. However I cant get the cvs version to 
  compile under Win2K/Cygwin. I get a heap of error messages like:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV>/usr/local/lib/libgeos.a(CentroidArea.o)(.text+0x4aa): In 
  function<BR>`_ZN4geos12CentroidArea3addEPNS_8GeometryE':<BR>/usr/src/geos-20030916/source/geom/../algorithm/CentroidArea.cpp:44:<BR>undefined 
  reference to `___cxa_bad_typeid'<BR></DIV>
  <DIV><FONT face=Arial><FONT size=2>I tried using "LDFLAGS=-lstdc++ ./configure 
  --other-options" to compile postgres. When running ldd to check the whether 
  the lib got linked to the postgres .exe I don't see libstdc++ in the list. Is 
  this because there is no libstdc++.dll on my system? If so, is there a 
  workaround (other than switching to Linux)? Or am I totally off the mark and 
  the problem is something else?<SPAN class=680222409-18092003><FONT 
  color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT size=2><SPAN 
  class=680222409-18092003></SPAN></FONT></FONT> </DIV>
  <DIV><FONT face=Arial><FONT size=2><SPAN class=680222409-18092003><FONT 
  color=#0000ff>Libtool on Win32 doesn't automagically pick up that c++ 
  files</FONT> <FONT color=#0000ff>need to be compiled with 
  c++</FONT></SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>so you gave to configure this 
  explicitly</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003></SPAN></FONT></FONT> </DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>so you need to do something 
  like</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>./autogen.sh</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>gcc=c++ ./configure</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>make</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003></SPAN></FONT></FONT> </DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>HTH</SPAN></FONT></FONT></DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003></SPAN></FONT></FONT> </DIV>
  <DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
  class=680222409-18092003>Norman</SPAN></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>