AGG/PNG driver not configured?
Jaakko Kahkonen
jaakko.kahkonen at FGI.FI
Thu Sep 6 02:11:41 EDT 2007
loadOutputFormat(): General error message. OUTPUTFORMAT clause
references driver AGG/PNG, but this driver isn't configured.
Platform:
----------8<-------------------------------------------------------
jaska at geox ~/mapserver_sources/mapserver-5.0.0-rc1 $ uname -a
Linux geox 2.6.22-gentoo-r5 #3 SMP PREEMPT Wed Sep 5 08:43:03 EEST 2007
x86_64 Intel(R) Xeon(R) CPU 5150 @ 2.66GHz GenuineIntel GNU/Linux
---------->8-------------------------------------------------------
AGG:
----------8<-------------------------------------------------------
x11-libs/agg-2.5 was built with the following:
USE="sdl truetype"
---------->8-------------------------------------------------------
./configure:
----------8<-------------------------------------------------------
jaska at geox ~/mapserver_sources/mapserver-5.0.0-rc1 $ ./configure
--with-gdal --with-proj --with-postgis --with-tiff --with-pdf
--with-ming --with-ogr --with-agg --with-httpd=/usr/sbin/apache2
--with-freetype --with-geos=/usr/bin/geos-config --with-wfs --with-wcs
--with-wfsclient --with-sos --with-wmsclient
--with-php=/usr/lib64/php5/include/php
...
checking for PDF_show_xy in -lpdf... yes
checking for PDF_load_font in -lpdf... yes
using libpdf from system libs.
checking if AGG support requested... using libagg from system libs.
configure: checking whether we should include EPPL7 support...
including EPPL7 support.
configure: checking whether we should include PROJ.4 support...
checking for pj_init in -lproj... yes
...
MapServer is now configured for
-------------- Compiler Info -------------
C compiler: gcc -O2 -fPIC -Wall
C++ compiler: g++ -O2 -fPIC -Wall
Debug: -DNEED_NONBLOCKING_STDERR
Generic NINT:
Threading support:
-------------- Renderer Settings ---------
zlib support:
png support:
jpeg support:
iconv support: -DUSE_ICONV
AGG support:
AGG Freetype support:
Ming(flash) support: -DUSE_MING_FLASH
PDFLib support: -DUSE_PDF
-------------- Data Format Drivers -------
native tiff support: -DUSE_TIFF
PostGIS support: -DUSE_POSTGIS
Proj.4 support: -DUSE_PROJ
EPPL7 support: -DUSE_EPPL
ArcSDE support:
OGR support: -DUSE_OGR
GDAL support: -DUSE_GDAL
GEOS support: -DUSE_GEOS
Oracle Spatial support:
FastCGI support:
-------------- OGC Services --------------
WMS Server: -DUSE_WMS_SVR
WMS Client: -DUSE_WMS_LYR
WFS Server: -DUSE_WFS_SVR
WFS Client: -DUSE_WMS_LYR
WCS Server: -DUSE_WCS_SVR
SOS Server: -DUSE_SOS_SVR
-------------- MapScript -----------------
PHP MapScript: yes
---------->8-------------------------------------------------------
Output (Firebug):
----------8<-------------------------------------------------------
<!-- MapServer version 5.0.0-rc1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
loadOutputFormat(): General error message. OUTPUTFORMAT clause
references driver AGG/PNG, but this driver isn't configured.
---------->8-------------------------------------------------------
Mapfile:
----------8<-------------------------------------------------------
MAP
IMAGETYPE PNG24
EXTENT 57842.59 6622010.94 735699.26 7780000
SIZE 600 600
UNITS METERS
NAME public_ows_3067.map
OUTPUTFORMAT
NAME 'AGG'
DRIVER AGG/PNG
IMAGEMODE RGB
END
...
---------->8-------------------------------------------------------
Is there just something wrong with outputformat, or perhaps with
AGG/MapServer installation? This is my first try with AGG...
--
Jaska K.
More information about the mapserver-dev
mailing list