Re: [mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-07-07 Thread Peter Peterse
Hello Thomas,

I've compiled all the source again on a clean system and now I've got:

./mapserv -v
MapServer version 5.4.1 OUTPUT=GIF OUTPUT=PNG 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

so it looks better to me.

Thanks for your help.

Peter.


 Thanks, but I'm not that far.

 I've just compiled mapserv
 After that I call the next command's:
 $ ./mapserv -v
 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

 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-07-01 Thread Peter Peterse
Thanks, but I'm not that far.

I've just compiled mapserv
After that I call the next command's:
$ ./mapserv -v
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

$ ./shp2img -m ../mapserver-utils-read-only/osm.map -o osm.png
loadOutputFormat(): General error message. OUTPUTFORMAT clause references
driver AGG/PNG, but this driver isn't configured. br

My configure command gave me the next result:

MapServer is now configured for

 -- Compiler Info -
  C compiler:gcc -g -O2 -fPIC -Wall
  C++ compiler:  g++ -g -O2 -fPIC -Wall
  Debug: -g  -DNEED_NONBLOCKING_STDERR
  Generic NINT:

 -- Renderer Settings -
  zlib support:  -DUSE_ZLIB
  png support:
  palette rgba png support:
  jpeg support:
  iconv support: -DUSE_ICONV
  AGG support:   -DUSE_AGG
  AGG Freetype support:  agg_font_freetype.o
  Ming(flash) support:
  PDFLib support:

 -- Support Libraries -
  Proj.4 support:-DUSE_PROJ
  Libxml2 support:   -DUSE_LIBXML2
  FriBidi support:
  Curl support:  -DUSE_CURL
  FastCGI support:
  Threading support: -DUSE_THREAD
  GEOS support:  -DUSE_GEOS

 -- Data Format Drivers ---
  native tiff support:   -DUSE_TIFF
  PostGIS support:   -DUSE_POSTGIS
  EPPL7 support: -DUSE_EPPL
  ArcSDE support:
  OGR support:   -DUSE_OGR
  GDAL support:  -DUSE_GDAL
  Oracle Spatial 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: no


I hope this give some more information.

Peter.


 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 Petersepe...@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users




___
mapserver-users 

Re: [mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-06-30 Thread Thomas Bonfort
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 Petersepe...@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users