[geos-devel] [Fwd: build error]

Yannick Lafont yannick.lafont at emc3.fr
Tue Nov 18 04:46:40 EST 2008


Hello,

I'm sorry, I'm trying to build geos-3.0.3rc1 but my problem is not solved.
I don't know where I can obtain more information. Could you help me ?
Thank you.

-------- Message original --------
Sujet : 	build error
Date : 	Tue, 07 Oct 2008 12:18:51 +0200
De : 	Yannick Lafont <yannick.lafont at emc3.fr>
Pour : 	geos-devel at lists.osgeo.org



Hello,

I'd like to compile geos but I have some errors. I build it with gcc 
2.96. I can read in INSTALL file, the gcc 2.96 is know to work !
I suppose there is a conflict : #include<algorithm> and the directories 
algorithm.
How to solve this error ?

Thank you.

bash-2.05$ make
Making all in source
make[1]: Entre dans le répertoire `/home/postgres/geos-3.0.0/source'
Making all in algorithm
make[2]: Entre dans le répertoire 
`/home/postgres/geos-3.0.0/source/algorithm'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I. -I../../source/headers -I../../source/headers/geos 
-I../../source/headers   -I/usr/local/include  -g -O2 -DGEOS_INLINE 
-Wall -ansi -pedantic -Wno-long-long -MT CGAlgorithms.lo -MD -MP -MF 
".deps/CGAlgorithms.Tpo" -c -o CGAlgorithms.lo CGAlgorithms.cpp; \
then mv -f ".deps/CGAlgorithms.Tpo" ".deps/CGAlgorithms.Plo"; else rm -f 
".deps/CGAlgorithms.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers 
-I../../source/headers/geos -I../../source/headers -I/usr/local/include 
-g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT 
CGAlgorithms.lo -MD -MP -MF .deps/CGAlgorithms.Tpo -c CGAlgorithms.cpp  
-fPIC -DPIC -o .libs/CGAlgorithms.o
CGAlgorithms.cpp:27:21: ../../source/headers/geos/algorithm is a directory
make[2]: *** [CGAlgorithms.lo] Erreur 1
make[2]: Quitte le répertoire `/home/postgres/geos-3.0.0/source/algorithm'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/postgres/geos-3.0.0/source'
make: *** [all-recursive] Erreur 1





More information about the geos-devel mailing list