<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi again,<br>
<br>
sorry for bringing up this one again but I still have this problem but
didn't get any answer. It was Friday for everyone I guess ;)<br>
<br>
best regards,<br>
<br>
Marc<br>
<br>
<br>
Marc Desharnais wrote:
<blockquote cite="mid46A0F735.5010302@ec.gc.ca" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hi all,<br>
  <br>
I recompiled postgis from scratch lately with support for GEOS, which I
compiled too. I confirm that GEOS' bin directory is in my path.<br>
  <br>
When I start Geoserver I keep getting this warning message.<br>
"[main] WARN org.geotools.data.postgis - GEOS is NOT enabled. This will
result in limited functionality and performance."<br>
  <br>
Which made me doubt about my installation. <br>
  <br>
I want GEOS working on that server. Why is it saying that if I
compiled PostGIS against GEOS?<br>
  <br>
Below is the result of my config command. I did a "make clean" then I
recompiled PostGIS after that. Then relaunched PostGIS and Geoserver.<br>
And I still got this message.<br>
  <br>
  <br>
Then I executed this command in PostGIS to check<br>
  <br>
  <br>
  <pre wrap="">#select postgis_version();

            postgis_version
---------------------------------------
 1.2 USE_GEOS=0 USE_PROJ=0 USE_STATS=1
(1 row)

  </pre>
  <pre wrap=""><font size="+1">Which confirm that it's not working, but why?</font>
  </pre>
  <br>
  <br>
  <font size="-1"><br>
Checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables...<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking whether ln -s works... yes<br>
checking for iconv_open in -liconv... no<br>
checking for libiconv_open in -liconv... no<br>
checking for iconv_open in -lc... yes<br>
checking how to run the C preprocessor... gcc -E<br>
checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking iconv.h usability... yes<br>
checking iconv.h presence... yes<br>
checking for iconv.h... yes<br>
checking build system type... i686-pc-linux-gnu<br>
checking host system type... i686-pc-linux-gnu<br>
checking for pg_config...
/data/ulysse/postgis_geos/postgresql-8.2.4/bin/pg_config<br>
checking for geos-config...
/data/ulysse/postgis_geos/GEOS/bin/geos-config<br>
checking for proj... /data/ulysse/postgis_geos/PROJ4/bin/proj<br>
checking for flex... /usr/bin/flex<br>
checking for dllwrap... no<br>
checking for dlltool... no<br>
checking for bison... bison -y<br>
checking for perl... /usr/bin/perl<br>
checking for xsltproc... no<br>
checking for pdfxmltex... no<br>
checking for db2pdf... no<br>
checking for jw... no<br>
checking which template to use... linux<br>
configure: creating ./config.status<br>
config.status: creating Makefile.config<br>
config.status: WARNING:  Makefile.config.in seems to ignore the
--datarootdir setting<br>
config.status: creating config.h<br>
config.status: config.h is unchanged<br>
  <br>
 SUMMARY<br>
 -------------------------------------------------------<br>
  <br>
 HOST_OS: linux-gnu<br>
  <br>
   PGSQL: /data/ulysse/postgis_geos/postgresql-8.2.4/bin/pg_config<br>
    GEOS: /data/ulysse/postgis_geos/GEOS/bin/geos-config (with C-API)<br>
          (ldflags: -L/data/ulysse/postgis_geos/GEOS/lib)<br>
    PROJ: prefix=/data/ulysse/postgis_geos/PROJ4
libdir=/data/ulysse/postgis_geos/PROJ4/lib<br>
   ICONV: 1<br>
  <br>
 PORTNAME: linux<br>
   PREFIX: /data/ulysse/postgis_geos/postgis<br>
  EPREFIX: ${prefix}<br>
      DOC: ${prefix}/share/doc<br>
     DATA: ${datarootdir}<br>
      MAN: ${datarootdir}/man<br>
      BIN: ${exec_prefix}/bin<br>
      EXT: ${exec_prefix}/lib (${exec_prefix}/lib)<br>
 -------------------------------------------------------<br>
  </font><br>
  <br>
Any opinion? :)<br>
  <br>
Thanks in advance,<br>
  <br>
-Marc
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>