[mapserver-users] compiling mapserv 5.4.1 with PNG driver
Thomas Bonfort
thomas.bonfort at camptocamp.com
Tue Jun 30 22:22:54 PDT 2009
you're apache configuration is probably not calling the mapserv binary
you just compiled, but another one on your system.
regards,
thomas
www.camptocamp.com
+33 4 79 26 57 97
On Tue, Jun 30, 2009 at 22:41, Peter Peterse<peter at peterse-uithuizen.com> wrote:
> Hello,
>
> I'm trying to compile mapserv v5.4.1. I used the next configure command:
> ================
> ./configure --with-ogr=/usr/local/bin/gdal-config \
> --with-gdal=/usr/local/bin/gdal-config \
> --with-httpd=/usr/sbin/httpd \
> --with-wfsclient \
> --with-wmsclient \
> --enable-debug \
> --with-curl-config=/usr/local/bin/curl-config \
> --with-proj=/usr/local \
> --with-tiff \
> --with-gd=/usr/local \
> --with-jpeg=/usr/lib/ \
> --with-png=/usr/local/bin/libpng12-config \
> --with-freetype=/usr/ \
> --with-threads \
> --with-wcs \
> --with-wfs \
> --with-postgis=/usr/local/pgsql/bin/pg_config \
> --with-libiconv=/usr \
> --with-geos=/usr/local/bin/geos-config \
> --with-libiconv=/usr \
> --with-xml2-config=/usr/bin/xml2-config \
> --with-sos \
> --with-agg=/home/peter/src/agg-2.5
> ================
>
> after the make command there is a mapserv program.
> mapserv -v gives:
> ================
> MapServer version 5.4.1 OUTPUT=GIF OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG
> SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> ================
>
> In my map-file I have defined OUTPUTFORMAT:
> ==========
> OUTPUTFORMAT
> NAME agg
> DRIVER AGG/PNG
> IMAGEMODE RGB
> FORMATOPTION "INTERLACE=false"
> MIMETYPE "image/png"
> END
> ==========
> this give the next error:
> OUTPUTFORMAT clause references driver AGG/PNG, but this driver isn't
> configured.
>
> Does anyone knows what I'm doing wrong?
>
>
> Thanks for your response.
>
> Peter.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list