mapserver not compiled with postgis support

Doug B ummmmm22 at GMAIL.COM
Tue Feb 20 11:04:35 EST 2007


Thought about that, but "find" only finds 2 copies, one in the src
directory from which I compiled, and one in /usr/local/bin where
install-force copied it.  (And both are identical in size, which
confirms for me that they're the same file.)

As far as other libraries, I have no idea which they'd be.  As far as
I know, it's only the MapServer compile which uses it.

Doug

On 2/20/07, David Potts <dave.potts at pinan.co.uk> wrote:
> Is it possible that you have more than one version of mapserver on your
> system ? or that any library that your using does not have postgis
> compiled in?
> D.
> > [Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Warning:
> > [MapServer Error]: msDrawMap(): Failed to draw layer named
> > 'Offender_PostGIS'.
> > [Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32]  in
> > /var/www/html/offender/map.php on line 87
> > [Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Warning:
> > [MapServer Error]: msPOSTGISLayerOpen(): msPOSTGISLayerOpen called but
> > unimplemented!  (mapserver not compiled with postgis support)
> > [Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32]  in
> > /var/www/html/offender/map.php on line 87
> > [Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Fatal
> > error:  Object expected as argument. in /var/www/html/offender/map.php
> > on line 106
> >
> > I did configure with --with-postgis=<path to pg_config> and mapserv -v
> > reports:
> >
> > MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> > OUTPUT=SVG SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
> > INPUT=SHAPEFILE
> >
> > Would I get a different error if postgis support was actually included
> > but the layer or the postgis configuration wasn't correct?
> >
> > Thanks again for the help.
> > Doug
> >
>
>
>



More information about the mapserver-users mailing list