[mapserver-users] MS3.5 for Win2K with Postgis

Andrew ahaigh at ic24.net
Fri Feb 1 10:38:29 PST 2002


A quick question,

according to the readme file in the zipfile, "This is the precompiled
distribution of MapServer version 3.5 nightly build with
GIF, OGR, GDAL, PostGIS (PostgreSQL) and OGC WMS server support."

When I do mapserv -v

I get:

C:\mapserver>mapserv -v
MapServer version 3.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PR
J SUPPORTS=TTF INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE

And when I try:
http://plasma/cgi-bin/mapserv.exe?map=c:/demo.map&request=GetCapabilities

I get the following output.

    mapserv(): Web application error. No template provided.

I'm assuming that this version doesn't have WMS support, as stated in the
README file. Is it possible to get hold of a copy which does?

Thanks,

Andrew

----- Original Message -----
From: "Pericles S. Nacionales" <pnaciona at gis.umn.edu>
To: "jrom" <jga at scot.cnes.fr>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, January 30, 2002 6:36 PM
Subject: Re: [mapserver-users] MS3.5 for Win2K with Postgis


> Nicolas,
>
> On Wed, 30 Jan 2002, jrom wrote:
>
> >
> > Perry,
> > Thanx a lot for your reactivity !
> >
> > I tried the binaries you provided, It works on windows 2000 with postgis
> > !
>
> Thanks!  Good to know it works.  I run into problems with mappostgis.c,
> crapping out and giving the "BIG_ENDIAN/LITTLE_ENDIAN" error message.  I
> got around it by copying the Cygwin param.h header into MSVC's include/sys
> directory and editing mappostgis.c.  There might be another way to go
> around this but it needs to be fixed permanently.
>
> > Your mapserv.exe is much bigger than the one I compiled yesterday
> > (680KB/2.4 Mb).
> > I must have missed an important step in the compilation, or maybe the
> > libpq.dll was not accessible from apache (mine was not in the
> > winnt/system32 folder).
>
> I compiled with static library support, except for zlib and libpq (hence
> the need for the dlls).  I tried linking GDAL/OGR and PROJ.4 libs
> dynamically but I get lots of error messages.
>
> >
> > I'm interested in the compilation how-to on windows, though Linux is our
> > prefered way to run mapserver and postgis.
> >
>
> There are already compilation how-to's for Unix (and Linux) and Windows
> but I'll add the bit about compiling PostGIS support on Windows.  Yup,
> I'll add that to my ever expanding to-do list. :)
>
>
> > Regards,
> > Nicolas Ribot
> > SCOT.
>
>
> Ciao!
> Perry N.
>
> PS: Is you app available for public browsing?  We ought to update the good
> old MapServer gallery.
>
>





More information about the MapServer-users mailing list