Hi Mike / Ari<br>
<br>
Thanks for the pointer, compiling happily now.<br>
<br>
Simon<br><br><div><span class="gmail_quote">On 3/31/06, <b class="gmail_sendername">Ari Jolma</b> &lt;<a href="mailto:ari.jolma@tkk.fi">ari.jolma@tkk.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've succesfully compiled geos with Fedora 5 and the complete solution<br>is as explained below.<br><br>Ari<br><br>Mike Leahy kirjoitti:<br>&gt; Hey Simon,<br>&gt;<br>&gt; I haven't tried compiling geos on Fedora, but I've had similar problems
<br>&gt; with other stuff - it's an issue with gcc-4.1.1 being more strict than<br>&gt; earlier versions.&nbsp;&nbsp;If you can edit the source code that contains those<br>&gt; errors, and remove the unwanted 'extra qualifications'.&nbsp;&nbsp;
E.g., in the<br>&gt; file /source/headers/geos/geom.h on line 361, remove the text<br>&gt; &quot;geos::Coordinate::&quot; from the code...do the same for any similar extra<br>&gt; qualification errors.&nbsp;&nbsp;After you clean up those errors, if you're lucky
<br>&gt; it will compile, if you're less lucky, you'll find more extra<br>&gt; qualifications to clean up.&nbsp;&nbsp;If you're unlucky, you'll find something<br>&gt; harder to deal with.<br>&gt;<br>&gt; Good luck,<br>&gt; Mike<br>
&gt;<br>&gt; Simon O'Malley wrote:<br>&gt;<br>&gt;&gt; Hi All<br>&gt;&gt;<br>&gt;&gt; Not sure if this is a list or a gmail problem as this message never showed<br>&gt;&gt; up. If this is a double post please ignore.<br>&gt;&gt;
<br>&gt;&gt; Has anyone successfully built geos-2.2.0 on fedora core 5.<br>&gt;&gt;<br>&gt;&gt; I get the following errors when running make.<br>&gt;&gt;<br>&gt;&gt; [root@nazgul geos-2.2.0]# make<br>&gt;&gt; Making all in source
<br>&gt;&gt; make[1]: Entering directory `/usr/src/postgres/geos-2.2.0/source'<br>&gt;&gt; Making all in geom<br>&gt;&gt; make[2]: Entering directory `/usr/src/postgres/geos-2.2.0/source/geom'<br>&gt;&gt; if /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
<br>&gt;&gt; -I. -I../../source/headers -I../../source/headers/geos<br>&gt;&gt; -I../../source/headers -DGEOS_VERSION=&quot;&quot;2.2.0&quot;&quot;&nbsp;&nbsp;&nbsp;&nbsp;-g -O2 -MT<br>&gt;&gt; Coordinate.lo-MD -MP -MF &quot;.deps/Coordinate.Tpo&quot; -c -o
<br>&gt;&gt; Coordinate.lo Coordinate.cpp; \<br>&gt;&gt; then mv -f &quot;.deps/Coordinate.Tpo&quot; &quot;.deps/Coordinate.Plo&quot;; else rm -f<br>&gt;&gt; &quot;.deps/Coordinate.Tpo&quot;; exit 1; fi<br>&gt;&gt; mkdir .libs
<br>&gt;&gt;&nbsp;&nbsp;g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers<br>&gt;&gt; -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.0 -g<br>&gt;&gt; -O2 -MT Coordinate.lo -MD -MP -MF .deps/Coordinate.Tpo -c 
Coordinate.cpp<br>&gt;&gt; -fPIC -DPIC -o .libs/Coordinate.o<br>&gt;&gt; ../../source/headers/geos/geom.h:361: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'setNull'<br>&gt;&gt; ../../source/headers/geos/geom.h:367: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'getNull'<br>&gt;&gt; ../../source/headers/geos/geom.h:371: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'Coordinate'<br>&gt;&gt; ../../source/headers/geos/geom.h:377: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'Coordinate'<br>&gt;&gt; ../../source/headers/geos/geom.h:384: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'Coordinate'<br>&gt;&gt; ../../source/headers/geos/geom.h:394: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'Coordinate'<br>&gt;&gt; ../../source/headers/geos/geom.h:400: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'setCoordinate'<br>&gt;&gt; ../../source/headers/geos/geom.h:406: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'equals2D'<br>&gt;&gt; ../../source/headers/geos/geom.h:416: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'compareTo'<br>&gt;&gt; ../../source/headers/geos/geom.h:432: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'equals3D'<br>&gt;&gt; ../../source/headers/geos/geom.h:436: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'makePrecise'<br>&gt;&gt; ../../source/headers/geos/geom.h:441: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'distance'<br>&gt;&gt; ../../source/headers/geos/geom.h:447: error: extra qualification<br>&gt;&gt; 'geos::Coordinate::' on member 'hashCode'<br>&gt;&gt; ../../source/headers/geos/geom.h:459: error: extra qualification
<br>&gt;&gt; 'geos::Coordinate::' on member 'hashCode'<br>&gt;&gt; make[2]: *** [Coordinate.lo] Error 1<br>&gt;&gt; make[2]: Leaving directory `/usr/src/postgres/geos-2.2.0/source/geom'<br>&gt;&gt; make[1]: *** [all-recursive] Error 1
<br>&gt;&gt; make[1]: Leaving directory `/usr/src/postgres/geos-2.2.0/source'<br>&gt;&gt; make: *** [all-recursive] Error 1<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------
<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; geos-devel mailing list<br>&gt;&gt; <a href="mailto:geos-devel@geos.refractions.net">geos-devel@geos.refractions.net</a><br>&gt;&gt; <a href="http://geos.refractions.net/mailman/listinfo/geos-devel">
http://geos.refractions.net/mailman/listinfo/geos-devel</a><br>&gt;&gt;<br>&gt; _______________________________________________<br>&gt; geos-devel mailing list<br>&gt; <a href="mailto:geos-devel@geos.refractions.net">geos-devel@geos.refractions.net
</a><br>&gt; <a href="http://geos.refractions.net/mailman/listinfo/geos-devel">http://geos.refractions.net/mailman/listinfo/geos-devel</a><br>&gt;<br><br><br>--<br>Prof. Ari Jolma<br>Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
<br>Teknillinen Korkeakoulu / Helsinki University of Technology<br>POBox 1200, 02015 TKK, Finland<br>Email: ari.jolma at <a href="http://tkk.fi">tkk.fi</a> URL: <a href="http://www.tkk.fi/~jolma">http://www.tkk.fi/~jolma</a>
<br><br>_______________________________________________<br>geos-devel mailing list<br><a href="mailto:geos-devel@geos.refractions.net">geos-devel@geos.refractions.net</a><br><a href="http://geos.refractions.net/mailman/listinfo/geos-devel">
http://geos.refractions.net/mailman/listinfo/geos-devel</a><br></blockquote></div><br>