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> <<a href="mailto:ari.jolma@tkk.fi">ari.jolma@tkk.fi</a>> 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>> Hey Simon,<br>><br>> I haven't tried compiling geos on Fedora, but I've had similar problems
<br>> with other stuff - it's an issue with gcc-4.1.1 being more strict than<br>> earlier versions. If you can edit the source code that contains those<br>> errors, and remove the unwanted 'extra qualifications'.
E.g., in the<br>> file /source/headers/geos/geom.h on line 361, remove the text<br>> "geos::Coordinate::" from the code...do the same for any similar extra<br>> qualification errors. After you clean up those errors, if you're lucky
<br>> it will compile, if you're less lucky, you'll find more extra<br>> qualifications to clean up. If you're unlucky, you'll find something<br>> harder to deal with.<br>><br>> Good luck,<br>> Mike<br>
><br>> Simon O'Malley wrote:<br>><br>>> Hi All<br>>><br>>> Not sure if this is a list or a gmail problem as this message never showed<br>>> up. If this is a double post please ignore.<br>>>
<br>>> Has anyone successfully built geos-2.2.0 on fedora core 5.<br>>><br>>> I get the following errors when running make.<br>>><br>>> [root@nazgul geos-2.2.0]# make<br>>> Making all in source
<br>>> make[1]: Entering directory `/usr/src/postgres/geos-2.2.0/source'<br>>> Making all in geom<br>>> make[2]: Entering directory `/usr/src/postgres/geos-2.2.0/source/geom'<br>>> if /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
<br>>> -I. -I../../source/headers -I../../source/headers/geos<br>>> -I../../source/headers -DGEOS_VERSION=""2.2.0"" -g -O2 -MT<br>>> Coordinate.lo-MD -MP -MF ".deps/Coordinate.Tpo" -c -o
<br>>> Coordinate.lo Coordinate.cpp; \<br>>> then mv -f ".deps/Coordinate.Tpo" ".deps/Coordinate.Plo"; else rm -f<br>>> ".deps/Coordinate.Tpo"; exit 1; fi<br>>> mkdir .libs
<br>>> g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers<br>>> -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.0 -g<br>>> -O2 -MT Coordinate.lo -MD -MP -MF .deps/Coordinate.Tpo -c
Coordinate.cpp<br>>> -fPIC -DPIC -o .libs/Coordinate.o<br>>> ../../source/headers/geos/geom.h:361: error: extra qualification<br>>> 'geos::Coordinate::' on member 'setNull'<br>>> ../../source/headers/geos/geom.h:367: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'getNull'<br>>> ../../source/headers/geos/geom.h:371: error: extra qualification<br>>> 'geos::Coordinate::' on member 'Coordinate'<br>>> ../../source/headers/geos/geom.h:377: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'Coordinate'<br>>> ../../source/headers/geos/geom.h:384: error: extra qualification<br>>> 'geos::Coordinate::' on member 'Coordinate'<br>>> ../../source/headers/geos/geom.h:394: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'Coordinate'<br>>> ../../source/headers/geos/geom.h:400: error: extra qualification<br>>> 'geos::Coordinate::' on member 'setCoordinate'<br>>> ../../source/headers/geos/geom.h:406: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'equals2D'<br>>> ../../source/headers/geos/geom.h:416: error: extra qualification<br>>> 'geos::Coordinate::' on member 'compareTo'<br>>> ../../source/headers/geos/geom.h:432: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'equals3D'<br>>> ../../source/headers/geos/geom.h:436: error: extra qualification<br>>> 'geos::Coordinate::' on member 'makePrecise'<br>>> ../../source/headers/geos/geom.h:441: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'distance'<br>>> ../../source/headers/geos/geom.h:447: error: extra qualification<br>>> 'geos::Coordinate::' on member 'hashCode'<br>>> ../../source/headers/geos/geom.h:459: error: extra qualification
<br>>> 'geos::Coordinate::' on member 'hashCode'<br>>> make[2]: *** [Coordinate.lo] Error 1<br>>> make[2]: Leaving directory `/usr/src/postgres/geos-2.2.0/source/geom'<br>>> make[1]: *** [all-recursive] Error 1
<br>>> make[1]: Leaving directory `/usr/src/postgres/geos-2.2.0/source'<br>>> make: *** [all-recursive] Error 1<br>>><br>>><br>>><br>>> ------------------------------------------------------------------------
<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>>><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>><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>