[geos-devel] Building geos-2.2.0 on fedora core 5 Again

Ari Jolma ari.jolma at tkk.fi
Fri Mar 31 00:55:51 EST 2006


I've succesfully compiled geos with Fedora 5 and the complete solution 
is as explained below.

Ari

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


-- 
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the geos-devel mailing list