[mapserver-users] mapserver 6.0.3 make error
Even Rouault
even.rouault at mines-paris.org
Sat Jun 30 12:49:49 PDT 2012
Le samedi 30 juin 2012 21:43:01, bascom49 a écrit :
> I'm getting an error compiling mapserver 6.0.3.
> If anyone can help me run this down I would be most appreciative.
I suspect that you are using libgif 4.2 or libgif 5.0, that have introduced
backward incompatible changes with previous versions. I suspect that MapServer
6.0 is too old to cope with those new versions, and I'm not sure if trunk has
been updated yet too. So you could file a ticket to ask support for those new
versions (and you can mention
http://trac.osgeo.org/gdal/changeset/24490/trunk/gdal/frmts/gif and
http://trac.osgeo.org/gdal/changeset/24608/trunk/gdal/frmts/gif as a hint of
required changes). In the meantime, stick with libgif 4.1.6 for example.
>
> Thanks,
> Charles
>
>
> mapimageio.c: In function 'gif_error_msg':
> mapimageio.c:955:3: warning: implicit declaration of function
> 'GifLastError' mapimageio.c: In function 'readGIF':
> mapimageio.c:1050:4: error: too few arguments to function
> 'DGifOpenFileName' /usr/local/include/gif_lib.h:176:14: note: declared
> here
> make: *** [mapimageio.o] Error
>
> Here is the output from ./configure
>
> root at wea:/usr/local/src/mapserver-6.0.3# ./configure --with-ogr --with-gdal
> --with-wfsclient --with-wmsclient --with-proj --with-wcs --with-postgis
> --with-geos --with-sos --with-experimental-png --with-fribidi-config
> --with-threads --enable-debug
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ranlib... ranlib
> checking for flex... no
> checking for lex... no
> checking for yywrap in -lfl... no
> checking for yywrap in -ll... no
> checking for bison... no
> checking for byacc... no
> checking if compiler supports -R... no
> checking if compiler supports -Wl,-rpath,... yes
> checking for exp in -lm... yes
> checking for __gxx_personality_v0 in -lstdc++... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strdup... yes
> checking for strrstr... no
> checking for strcasestr... yes
> checking for strlcat... no
> checking for strlcpy... no
> checking for vsnprintf... yes
> MapServer Version from mapserver.h: '6.0.3'
> checking if pkg-config path is provided... checking for pkg-config... no
> couldn't find pkg-config in default path. Please specify full path to
> pkg-config if needed
> checking for freetype-config... /usr/local/bin/freetype-config
> checking for FT_Init_FreeType in -lfreetype... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking ft2build.h usability... yes
> checking ft2build.h presence... yes
> checking for ft2build.h... yes
> configure: checking where Zlib is installed...
> checking for zlibVersion in -lz... yes
> using libz from system libs (-DUSE_ZLIB).
> configure: checking where PNG is installed...
> checking for png_init_io in -lpng... yes
> checking png.h usability... yes
> checking png.h presence... yes
> checking for png.h... yes
> using libpng from system libs.
> checking setjmp.h usability... yes
> checking setjmp.h presence... yes
> checking for setjmp.h... yes
> configure: checking where GIF is installed...
> checking for DGifOpenFileHandle in -lgif... yes
> checking gif_lib.h usability... yes
> checking gif_lib.h presence... yes
> checking for gif_lib.h... yes
> using libgif from system libs.
> configure: checking whether we should include JPEG support...
> checking for jpeg_read_header in -ljpeg... yes
> checking jpeglib.h usability... yes
> checking jpeglib.h presence... yes
> checking for jpeglib.h... yes
> using libjpeg from system libs.
> configure: checking where libXpm is installed...
> checking for XpmFreeXpmImage in -lXpm... no
> XPM (libXpm) library cannot be found, possibly needed for GD
> configure: checking where libiconv is installed...
> checking for iconv_open in -lc... yes
> checking for libiconv_open in -liconv... no
> checking for iconv_open in -liconv... no
> using libiconv from system libs.
> libiconv found. Enabling internationalization (-DUSE_ICONV)
> configure: checking for GD 2.0.28 or higher...
> checking for gdImageCreatePaletteFromTrueColor in -lgd... yes
> checking for gdImageCreatePaletteFromTrueColor in -lgd... (cached) yes
> using libgd 2.0.28 (or higher) from system libs (-L/usr/local/lib
> -lgd -ljpeg -L/usr/local/lib -lfreetype -lz -lpng -lz ).
> checking for gdImageCreate in -lgd... yes
> checking for gdImageGif in -lgd... yes
> checking for gdImagePng in -lgd... yes
> checking for gdImageJpeg in -lgd... no
> checking for gdImageWBMP in -lgd... yes
> checking for gdImageStringFT in -lgd... yes
> checking for gdImageOpenPolygon in -lgd... yes
> checking for gdImageGifPtr in -lgd... yes
> checking for gdFontGetTiny in -lgd... yes
> checking for gdImageSetResolution in -l... no
> checking whether gdImageGetTrueColorPixel is declared... yes
> checking for gdImageGetTrueColorPixel in -lgd... yes
> using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT
> -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
> -DGD_HAS_GET_TRUE_COLOR_PIXEL) from system libs.
> checking if FTGL support requested... no
> checking if OGL support requested... no
> configure: checking where EXPAT is installed...
> checking for XML_ParserCreate in -lexpat... no
> checking expat.h usability... no
> checking expat.h presence... no
> checking for expat.h... no
> not found in system libs. svg symbol support will be disabled
> checking for AGG support... yes
> checking if SVG Symbol support requested... disabled due to missing
> expat dependency
> configure: checking whether we should include PROJ.4 support...
> checking for pj_init in -lproj... yes
> checking for pj_transform in -lproj... yes
> using PROJ.4 from system libs.
> configure: checking whether we should include thread safe support...
> checking for pthread_create in -lpthread... yes
> using -lpthread from system libs.
> configure: checking whether we should include ESRI SDE support...
> ESRI SDE support not requested.
> checking if GEOS support requested... yes
> checking for geos-config... /usr/local/bin/geos-config
> checking for GEOS version >= 3.0.0... yes. Found version 3.3.5
> configure: checking whether we should include OGR support...
> checking for gdal-config... /usr/local/bin/gdal-config
> OGR enabled (-DUSE_OGR).
> checking if GDAL support requested... yes
> checking if PostGIS support requested... yes
> checking for pg_config... no
> checking if Mysql support requested... no
> checking if OracleSpatial support requested... no
> configure: checking whether we should include WMS Server support...
> OGC WMS compatibility enabled (-DUSE_WMS_SVR).
> configure: checking whether we should include WFS Server support...
> OGC WFS Server support not requested.
> configure: checking whether we should include WCS Server support...
> OGC WCS Server support enabled (-DUSE_WCS_SVR).
> configure: checking whether we should include WMS Client Connections
> support...
> configure: checking whether we should include WFS Client Connections
> support...
> configure: checking whether we should include OGC SOS Server support...
> OGC SOS Server support requested.
> checking for curl-config... checking for curl-config...
> /usr/local/bin/curl-config
> found libcurl version 7.26.0
> checking for CURLOPT_PROXYAUTH support... yes.
> OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
> OGC WFS Client Connections enabled (-DUSE_WFS_LYR).
> checking if KML output is requested... no
> checking for libxml2... libxml2 required.
> checking for xml2-config... /usr/local/bin/xml2-config
> found libxml2 version 2.8.0
> checking if xml-mapfile is requested... no
> checking if xslt is requested... no
> checking if exslt is requested... no
> checking if FriBidi support requested... yes
> checking for fribidi-config... no
> checking if Cairo support requested... no
> checking FastCGI support... not requested.
> configure: checking HTTPD server (Apache) version...
> checking for httpd... no
> 'httpd' not found, skipping Apache version detection. You may want
> to use --with-httpd=/path/to/httpd
> Compiling with fast MS_NINT
> checking compiler warnings... basic
> configure: checking whether we should enable debug features...
> Enabling debug features: -g in CFLAGS.
> configure: checking whether we should enable mapserv CGI command-line debug
> arguments...
> configure: checking for PHP/MapScript module options...
> PHP/MapScript module not configured.
> checking for g++ -shared ... yes
> checking if --enable-runpath requested... no
> checking if --with-java-include-os-name specified... no, autodetected linux
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating mapscript/java/Makefile
> config.status: creating mapscript/csharp/Makefile
>
> MapServer is now configured for
>
> -------------- Compiler Info -------------
> C compiler: gcc -g -fPIC -Wall
> C++ compiler: g++ -g -fPIC -Wall
> Debug: -g
> Generic NINT:
>
> -------------- Renderer Settings ---------
> OpenGL support:
> zlib support: -DUSE_ZLIB
> png support: -DUSE_PNG
> gif support: -DUSE_GIF
> jpeg support: -DUSE_JPEG
> freetype support: -DUSE_FREETYPE
> iconv support: -DUSE_ICONV
> AGG support: internal
> SVG Symbol support:
> Cairo (SVG,PDF) support:
> KML support:
>
> -------------- Support Libraries ---------
> Proj.4 support: -DUSE_PROJ
> Libxml2 support: -DUSE_LIBXML2
> FriBidi support:
> Curl support: -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
> FastCGI support:
> Threading support: -DUSE_THREAD
> GEOS support: -DUSE_GEOS
> XML Mapfile support:
> XSLT support:
> EXSLT support:
>
> -------------- Data Format Drivers -------
> PostGIS support:
> 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:
> WFS Client: -DUSE_WFS_LYR
> WCS Server: -DUSE_WCS_SVR
> SOS Server: -DUSE_SOS_SVR
>
> -------------- MapScript -----------------
> PHP MapScript: no
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/mapserver-6-0-3-make-error-tp4985080.h
> tml Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> 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