[geos-devel] build error
Yannick Lafont
yannick.lafont at emc3.fr
Tue Oct 7 06:18:51 EDT 2008
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