<html><body>
<p><tt>I'm running a Postgresql &quot;8.0.6-1PGDG&quot; database on Redhat 9 and I'm trying to install geos (from cvs 3.0.0) for use with Postgis &amp; Postgresql. After the configure (see below) I do a make and this is the output (see next mail):<br>
</tt><br>
<tt>[root]# ./configure --enable-autoconf<br>
</tt><tt>checking for gcc... gcc<br>
</tt><tt>checking for C compiler default output file name... a.out<br>
</tt><tt>checking whether the C compiler works... yes<br>
</tt><tt>checking whether we are cross compiling... no<br>
</tt><tt>checking for suffix of executables...<br>
</tt><tt>checking for suffix of object files... o<br>
</tt><tt>checking whether we are using the GNU C compiler... yes<br>
</tt><tt>checking whether gcc accepts -g... yes<br>
</tt><tt>checking for gcc option to accept ANSI C... none needed<br>
</tt><tt>checking for g++... g++<br>
</tt><tt>checking whether we are using the GNU C++ compiler... yes<br>
</tt><tt>checking whether g++ accepts -g... yes<br>
</tt><tt>checking whether ln -s works... yes<br>
</tt><tt>checking for iconv_open in -liconv... no<br>
</tt><tt>checking for iconv_open in -lc... yes<br>
</tt><tt>checking how to run the C preprocessor... gcc -E<br>
</tt><tt>checking for egrep... grep -E<br>
</tt><tt>checking for ANSI C header files... yes<br>
</tt><tt>checking for sys/types.h... yes<br>
</tt><tt>checking for sys/stat.h... yes<br>
</tt><tt>checking for stdlib.h... yes<br>
</tt><tt>checking for string.h... yes<br>
</tt><tt>checking for memory.h... yes<br>
</tt><tt>checking for strings.h... yes<br>
</tt><tt>checking for inttypes.h... yes<br>
</tt><tt>checking for stdint.h... yes<br>
</tt><tt>checking for unistd.h... yes<br>
</tt><tt>checking iconv.h usability... yes<br>
</tt><tt>checking iconv.h presence... yes<br>
</tt><tt>checking for iconv.h... yes<br>
</tt><tt>checking build system type... i686-pc-linux-gnu<br>
</tt><tt>checking host system type... i686-pc-linux-gnu<br>
</tt><tt>checking for pg_config... /usr/bin/pg_config<br>
</tt><tt>checking for geos-config... /usr/bin/geos-config<br>
</tt><tt>checking for proj... /usr/local/bin/proj<br>
</tt><tt>checking for flex... /usr/bin/flex<br>
</tt><tt>checking for dllwrap... no<br>
</tt><tt>checking for dlltool... no<br>
</tt><tt>checking for yacc... /usr/bin/yacc<br>
</tt><tt>checking for perl... /usr/bin/perl<br>
</tt><tt>checking for xsltproc... /usr/bin/xsltproc<br>
</tt><tt>checking for pdfxmltex... /usr/bin/pdfxmltex<br>
</tt><tt>checking for jw... /usr/bin/jw<br>
</tt><tt>checking which template to use... linux<br>
</tt><tt>configure: creating ./config.status<br>
</tt><tt>config.status: creating Makefile.config<br>
</tt><tt>config.status: creating config.h<br>
</tt><br>
<tt>SUMMARY<br>
</tt><tt>-------------------------------------------------------</tt><br>
<br>
<tt>HOST_OS: linux-gnu<br>
</tt>
<ul><tt>PGSQL: /usr/bin/pg_config<br>
</tt><tt>GEOS: /usr/bin/geos-config<br>
</tt><tt>PROJ: dir=/usr/local</tt><br>
<tt>ICONV: 1<br>
</tt></ul>
<tt>PORTNAME: linux<br>
</tt><tt>PREFIX: /usr</tt>
<ul><tt>EPREFIX: ${prefix}<br>
</tt><tt>DOC: /usr/share/doc/postgresql/contrib</tt>
<ul><tt>DATA: /usr/share/pgsql/contrib<br>
</tt><tt>MAN: /usr/share/man<br>
</tt><tt>BIN: /usr/bin<br>
</tt><tt>EXT: /usr/lib/pgsql (\$$libdir)</tt></ul>
</ul>
<tt>-------------------------------------------------------<br>
</tt><br>
<tt>If I try to install the 2.2.1 version than i get this error:<br>
</tt><br>
<tt>[root]# make<br>
</tt><tt>Making all in source<br>
</tt><tt>make[1]: Binnengaan van map `/home/postgis/geos-2.2.1/source'<br>
</tt><tt>Making all in geom<br>
</tt><tt>make[2]: Binnengaan van map `/home/postgis/geos-2.2.1/source/geom'<br>
</tt><tt>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=&quot;&quot;2.2.1&quot;&quot; &nbsp; &nbsp;-g -O2 -MT Coordinate.lo -MD -MP -MF &quot;.deps/Coordinate.Tpo&quot; -c -o Coordinate.lo Coordinate.cpp; \<br>
</tt><tt>then mv -f &quot;.deps/Coordinate.Tpo&quot; &quot;.deps/Coordinate.Plo&quot;; else rm -f &quot;.deps/Coordinate.Tpo&quot;; exit 1; fi</tt><br>
<tt>g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.1 -g -O2 -MT Coordinate.lo -MD -MP -MF .deps/Coordinate.Tpo -c Coordinate.cpp &nbsp;-fPIC -DPIC -o .libs/Coordinate.o<br>
</tt><tt>../../source/headers/geos/geom.h:361: error: extra qualification 'geos::Coordinate::' on member 'setNull'<br>
</tt><tt>../../source/headers/geos/geom.h:367: error: extra qualification 'geos::Coordinate::' on member 'getNull'<br>
</tt><tt>../../source/headers/geos/geom.h:371: error: extra qualification 'geos::Coordinate::' on member 'Coordinate'<br>
</tt><tt>../../source/headers/geos/geom.h:377: error: extra qualification 'geos::Coordinate::' on member 'Coordinate'<br>
</tt><tt>../../source/headers/geos/geom.h:384: error: extra qualification 'geos::Coordinate::' on member 'Coordinate'<br>
</tt><tt>../../source/headers/geos/geom.h:394: error: extra qualification 'geos::Coordinate::' on member 'Coordinate'<br>
</tt><tt>../../source/headers/geos/geom.h:400: error: extra qualification 'geos::Coordinate::' on member 'setCoordinate'<br>
</tt><tt>../../source/headers/geos/geom.h:406: error: extra qualification 'geos::Coordinate::' on member 'equals2D'<br>
</tt><tt>../../source/headers/geos/geom.h:416: error: extra qualification 'geos::Coordinate::' on member 'compareTo'<br>
</tt><tt>../../source/headers/geos/geom.h:432: error: extra qualification 'geos::Coordinate::' on member 'equals3D'<br>
</tt><tt>../../source/headers/geos/geom.h:436: error: extra qualification 'geos::Coordinate::' on member 'makePrecise'<br>
</tt><tt>../../source/headers/geos/geom.h:441: error: extra qualification 'geos::Coordinate::' on member 'distance'<br>
</tt><tt>../../source/headers/geos/geom.h:447: error: extra qualification 'geos::Coordinate::' on member 'hashCode'<br>
</tt><tt>../../source/headers/geos/geom.h:459: error: extra qualification 'geos::Coordinate::' on member 'hashCode'<br>
</tt><tt>make[2]: *** [Coordinate.lo] Fout 1<br>
</tt><tt>make[2]: Weggaan uit map `/home/postgis/geos-2.2.1/source/geom'<br>
</tt><tt>make[1]: *** [all-recursive] Fout 1<br>
</tt><tt>make[1]: Weggaan uit map `/home/postgis/geos-2.2.1/source'<br>
</tt><tt>make: *** [all-recursive] Fout 1<br>
</tt><br>
<tt>I read on this mailing list that if i put some of the error in geom.h in comment that the errors could be solved but that I get problems with Coordinate.cpp on line 21 because it uses geom.h's Coordinate::Coordinate(double, double, double) function:<br>
</tt><br>
<tt>Coordinate.cpp:21: error: no matching function for call to 'geos::Coordinate::Coordinate(double, double, double)'<br>
</tt><tt>../../source/headers/geos/geom.h:344: note: candidates are: geos::Coordinate::Coordinate()<br>
</tt><tt>../../source/headers/geos/geom.h:344: note: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; geos::Coordinate::Coordinate(const geos::Coordinate&amp;)<br>
</tt><br>
<tt>Thx on advance,<br>
</tt><br>
<tt>Johan.</tt><br>
</body></html>