[mapserver-users] Compilation error for mapserver 3.7 (CVS) with flash output support
Yewondwossen Assefa
assefa at dmsolutions.ca
Tue Sep 24 11:52:42 PDT 2002
I have removed the prototype and commited map.h (revision 1.184). It should
compile properly now.
Later,
David Monterroso Cabello wrote:
> Hi there!
>
> I've been using mapserver for a while (the 3.6 versions), but now i
> would like to experiment with the swf output feature. I downloaded the
> sources from CVS configured and tried to compile it.
>
> This was the configure command line:
>
> [root at pyro-x mapserver]# ./configure
> --with-php=/home/pyro-x/Downloads/php-4.2.0 --with-postgis --with-proj
> --with-ming
>
> And the result result:
>
> loading cache ./config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for c++... (cached) c++
> checking whether the C++ compiler (c++ ) works... yes
> checking whether the C++ compiler (c++ ) is a cross-compiler... no
> checking whether we are using GNU C++... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking for ranlib... (cached) ranlib
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking for bison... (cached) bison -y
> checking if compiler supports -R... (cached) no
> checking if compiler supports -Wl,-rpath,... (cached) yes
> checking for exp in -lm... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for strcasecmp... (cached) yes
> checking for strncasecmp... (cached) yes
> checking for strdup... (cached) yes
> checking whether we should include JPEG support...
> checking for jpeg_read_header in -ljpeg... yes
> using libjpeg from system libs.
> checking which version of GD to use...
> using libgd from system libs.
> checking where FreeType is installed...
> checking for FT_Init_FreeType in -lfreetype... yes
> using libfreetype -lfreetype from system libs.
> checking where Zlib is installed...
> checking for zlibVersion in -lz... yes
> using libz from system libs.
> checking where PNG is installed...
> checking for png_init_io in -lpng... yes
> using libpng from system libs.
> checking for gdImageCreate in -lgd... yes
> checking for gdImageGif in -lgd... no
> checking for gdImagePng in -lgd... yes
> checking for gdImageJpeg in -lgd... yes
> checking for gdImageWBMP in -lgd... yes
> checking for gdImageStringFT in -lgd... no
> checking for gdImageStringTTF in -lgd... yes
> checking for gdImageString16 in -lgd... yes
> checking for gdImageGifPtr in -lgd... no
> using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
> -DUSE_GD_TTF) from system libs.
> checking whether we should include PDF support...
> checking for PDF_setlinewidth in -lpdf... no
> checking for PDF_setrgbcolor in -lpdf... no
> checking for PDF_moveto in -lpdf... no
> checking for PDF_curveto in -lpdf... no
> checking for PDF_show_xy in -lpdf... (cached) no
> libpdf not found... PDF support not included.
> checking whether we should include TIFF support...
> checking for TIFFOpen in -ltiff... yes
> using libtiff from system libs.
> checking whether we should include EPPL7 support...
> including EPPL7 support.
> checking whether we should include PROJ.4 support...
> checking for pj_init in -lproj... yes
> checking for pj_transform in -lproj... yes
> checking for pj_latlong_from_proj in -lproj... yes
> using PROJ.4 from system libs.
> checking whether we should include thread safe support...
> thread safe support disabled.
> checking whether we should include ESRI SDE support...
> ESRI SDE support not requested.
> checking whether we should compile in MPATROL support...
> MPATROL support not requested.
> checking whether we should include OGR support...
> OGR support not requested.
> checking if GDAL support requested... no
> checking if PostGIS support requested... yes
> checking for pg_config... /usr/bin/pg_config
> yes, user supplied pg_config
> checking if OracleSpatial support requested... no
> checking if MING/Flash support requested... yes
> checking whether we should include WMS Server support...
> OGC WMS compatibility enabled (-DUSE_WMS_SVR).
> checking whether we should include WMS Client Connections support...
> checking whether we should include WFS Server support...
> OGC WFS Server support not requested.
> Compiling with -DIGNORE_MISSING_DATA.
> checking whether we should enable debug features...
> checking for PHP/MapScript module options...
> checking for gcc -shared ... yes
> checking for location of config.h or php_config.h...
> /home/pyro-x/Downloads/php-4.2.0/main/php_config.h
> checking whether we have PHP3 or PHP4... -DPHP4
> checking whether we should use PHP's regex... no
> PHP/MapScript module configured.
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating mapscript/php3/Makefile
>
> For me it seems everything is OK, but when i try to make the sources
> i always get this error:
>
> [root at pyro-x mapserver]# make
> gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
> -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_MING_FLASH -DUSE_TIFF -DUSE_JPEG
> -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF
> -DUSE_POSTGIS -I/usr/include -I/usr/include maptemplate.c
> -o maptemplate.o
> In file included from maptemplate.h:8,
> from maptemplate.c:3:
> map.h:1200: parse error before `httpRequestObj'
> make: *** [maptemplate.o] Error 1
>
> If i don't include the ming library support it compiles without
> problems, i tried it some weeks ago and today i updated the cvs tree but
> it doesn't compile anyway :-\.
>
> Can you see something strange, in my config?.
>
> Many Thanx
>
> --
> David Monterroso Cabello
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list