]> granicus.if.org Git - postgis/commitdiff
postgresql linking against libstdc++ reported as possibly needed for geos support
authorSandro Santilli <strk@keybit.net>
Thu, 20 Nov 2003 16:46:22 +0000 (16:46 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 20 Nov 2003 16:46:22 +0000 (16:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@378 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index ccf7ad34bfaa1eade716524b101ac5fc23f375fb..ad16f5a75446e73afec3c9759b489eca27bfb742 100644 (file)
                                        <para>Before you can compile the postgis server modules, you must
                                          compile and install the PostgreSQL package.
                                        </para> 
+                                       <para><emphasis>NOTE</emphasis>: if you plan to use GEOS
+                                       functionality you might need to link PostgreSQL against
+                                               the standard C++ library:
+                                       </para>
+
+                                       <programlisting>LDFLAGS=-lstdc++ ./configure YOUR_OPTIONS_HERE</programlisting>
+
+                                       <para>
+                                               This is a workaround for bogus C++ exceptions interaction
+                                               with older development tools.
+                                               If you experience weird problems (backend unexpectedly
+                                               closed or similar things) try that.
+                                       </para>
                                </listitem>
                                <listitem> 
                                        <para>Retrieve the PostGIS source archive from
                                                          have the GEOS library installed, set the
                                                          <varname>USE_GEOS</varname> variable to <emphasis>1</emphasis>,
                                                                and eventually adjust <varname>GEOS_DIR</varname> to point to
-                                                               your GEOS installation directory.
+                                                               your GEOS installation directory. 
                                                        </para>
                                                </listitem>
                                        </itemizedlist>