[mapserver-users] Fwd: confirm b8dc1607cc0cb601c5a4f9763f3a015f2a57a6d0

Carlos Isaac Otero Michilot carlos.otero23 at gmail.com
Wed Aug 7 16:12:20 PDT 2013


Hello
Dear friends
I've been working with mapserver since 2005, but I've always had problems
when compiling newer versions of mapserver and this is one of these cases
with the 6.2.1 version.

H einstalado and all dependencies compiled mapserver with the following
script, including support for svg symbols.

./configure \
--with-proj=/usr/local \
--with-geos=/usr/local/bin/geos-config \
--with-ogr=/usr/local/bin/gdal-config \
--with-gdal=/usr/local/bin/gdal-config \
--with-zlib=/usr/lib/ \
--with-pkg-config=/usr/bin/pkg-config \
--with-mysql=/usr/bin/mysql_config \
--with-postgis=/usr/local/pgsql/bin/pg_config \
--with-curl-config=/usr/bin/curl-config \
--with-apache-module \
--with-apxs=/usr/local/apache2/bin/apxs \
--with-fastcgi \
--with-php=/usr/local/apache2/php/bin/php-config \
--with-wfs \
--with-wfsclient \
--with-exempi \
--with-fribidi-config=/usr/local/lib/pkgconfig/fribidi.pc \
--with-wmsclient \
--enable-debug \
--with-curl-config=/usr/bin/curl-config \
--with-threads \
--with-wcs \
--with-kml=yes \
--with-cairo=/usr/local/lib/pkgconfig/cairo.pc \
--with-sos \
--with-gd=/usr/bin/gdlib-config \
--with-freetype \
--with-jpeg \
--with-xml2-config=/usr/bin/xml2-config \
--with-xml-mapfile=yes \
--enable-proj-fastpath \

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
MapServer is now configured for i686-pc-linux-gnu

 -------------- Compiler Info -------------
  C compiler:                gcc -g    -Wall -Wdeclaration-after-statement
  C++ compiler:              g++ -g    -Wall
  Debug:                     -g
  Generic NINT:

 -------------- Renderer Settings ---------
  OpenGL support:
  zlib support:
  png support:               -DUSE_PNG
  gif support:               -DUSE_GIF
  jpeg support:              -DUSE_JPEG
  freetype support:          -DUSE_FREETYPE
  iconv support:             -DUSE_ICONV
  AGG support:               internal
  GD support:                -DUSE_GD  -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_GIF
  Cairo (SVG,PDF) support:   -DUSE_CAIRO
  Cairo SVG symbol support:  -DUSE_SVG_CAIRO
  KML support:               -DUSE_KML

 -------------- Support Libraries ---------
  Proj.4 support:            -DUSE_PROJ
  Proj Fastpaths:            -DUSE_PROJ_FASTPATHS
  Libxml2 support:           -DUSE_LIBXML2
  FriBidi support:           -DUSE_FRIBIDI -DUSE_FRIBIDI2
  Curl support:              -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
  FastCGI support:           -DUSE_FASTCGI
  Exempi support:            -DUSE_EXEMPI
  Threading support:         -DUSE_THREAD
  GEOS support:              -DUSE_GEOS
  XML Mapfile support:        -DUSE_XMLMAPFILE
  XSLT support:              -DUSE_XSLT
  EXSLT support:              -DUSE_EXSLT

 -------------- Data Format Drivers -------
  PostGIS support:           -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION
  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_WFS_LYR
  WCS Server:                -DUSE_WCS_SVR
  SOS Server:                -DUSE_SOS_SVR

 -------------- MapScript -----------------
  PHP MapScript:             yes
  Python MapScript:          no
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

But it throws the following error:

USE_EXSLT -DUSE_XSLT -DUSE_XMLMAPFILE -DUSE_WMS_LYR -DUSE_WFS_LYR
-DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML
-DUSE_EXEMPI -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR  -DUSE_MYSQL
-DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
 -DHAVE_SYNC_FETCH_AND_ADD -DUSE_THREAD -DUSE_PROJ   -DUSE_GD  -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG -DUSE_GIF -DUSE_PNG
-DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR   -DDISABLE_CVSID  -I/usr/include/freetype2
 -Irenderers/agg/include   -I/usr/local/include   -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
-fPIC  -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-DMY_PTHREAD_FASTMUTEX=1   -I/usr/local/include
 -I/usr/include/exempi-2.0/exempi -I/usr/include/libxml2
-I/usr/local/include/fribidi   -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12    -I/usr/include/apr-1
 -I/usr/local/apache2/include mapcairo.c -o mapcairo.lo
libtool: compile:  gcc -c -g -Wall -Wdeclaration-after-statement
-DUSE_PROJ_FASTPATHS -DMOD_WMS_ENABLED -DUSE_FASTCGI -DUSE_SVG_CAIRO
-DUSE_CAIRO -DUSE_FRIBIDI -DUSE_FRIBIDI2 -DUSE_EXSLT -DUSE_XSLT
-DUSE_XMLMAPFILE -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2
-DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML -DUSE_EXEMPI -DUSE_WCS_SVR
-DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_MYSQL -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DHAVE_SYNC_FETCH_AND_ADD -DUSE_THREAD -DUSE_PROJ -DUSE_GD -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG -DUSE_GIF -DUSE_PNG
-DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR -DDISABLE_CVSID -I/usr/include/freetype2
-Irenderers/agg/include -I/usr/local/include -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
-fPIC -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-DMY_PTHREAD_FASTMUTEX=1 -I/usr/local/include
-I/usr/include/exempi-2.0/exempi -I/usr/include/libxml2
-I/usr/local/include/fribidi -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/apr-1
-I/usr/local/apache2/include mapcairo.c  -fPIC -DPIC -o .libs/mapcairo.o
mapcairo.c:367: error: expected specifier-qualifier-list before
'svg_cairo_t'
mapcairo.c: In function 'renderSVGSymbolCairo':
mapcairo.c:398: error: 'svg_cairo_status_t' undeclared (first use in this
function)
mapcairo.c:398: error: (Each undeclared identifier is reported only once
mapcairo.c:398: error: for each function it appears in.)
mapcairo.c:398: error: expected ';' before 'status'
mapcairo.c:399: error: 'status' undeclared (first use in this function)
mapcairo.c:399: warning: implicit declaration of function 'svg_cairo_render'
mapcairo.c:399: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:400: error: 'SVG_CAIRO_STATUS_SUCCESS' undeclared (first use in
this function)
mapcairo.c: In function 'freeSVGCache':
mapcairo.c:1041: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:1043: warning: implicit declaration of function
'svg_cairo_destroy'
mapcairo.c:1043: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c: In function 'msPreloadSVGSymbol':
mapcairo.c:1102: error: 'symbolObj' has no member named 'renderer_free_func'
mapcairo.c:1106: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:1113: warning: implicit declaration of function
'svg_cairo_create'
mapcairo.c:1113: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:1118: warning: implicit declaration of function 'svg_cairo_parse'
mapcairo.c:1118: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:1123: warning: implicit declaration of function
'svg_cairo_get_size'
mapcairo.c:1123: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c: In function 'msRenderRasterizedSVGSymbol':
mapcairo.c:1176: error: 'struct svg_symbol_cache' has no member named
'scale'
mapcairo.c:1176: error: 'struct svg_symbol_cache' has no member named
'rotation'
mapcairo.c:1213: error: 'struct svg_symbol_cache' has no member named 'svgc'
mapcairo.c:1213: error: 'SVG_CAIRO_STATUS_SUCCESS' undeclared (first use in
this function)
mapcairo.c:1224: error: 'struct svg_symbol_cache' has no member named
'scale'
mapcairo.c:1225: error: 'struct svg_symbol_cache' has no member named
'rotation'
make: *** [mapcairo.lo] Error 1
[root at sigservertemp mapserver-6.2.1]#




Someone can help me with this problem, I certainly have libsvg-cairo
compiled as indicated in the installation manual mapserver site
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130807/9aa2f7d1/attachment-0001.html>


More information about the mapserver-users mailing list