Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Luís de Sousa
Hello everyone,

Yesterday I went round the several Mapscript installations I'm managing and
noted that those that I've compiled so far have all been 6.0.2. But this
time I'm trying with postgres for the first time, hence I though this to be
the cause of my troubles.

This morning, more out of desperation than anything else, I downloaded 6.0.2
and gave it a try. Amazingly the compilation went just fine, no issues with
lex or yacc, everything when on as it should.

Where's the log for future reference, without messages:

wget http://download.osgeo.org/mapserver/mapserver-6.0.2.tar.gz
tar xvf mapserver-6.0.2.tar.gz
cd mapserver-6.0.2
sudo su
configure [omiting options for simplicity]
make lexer
make
exit

This was run with both byacc and flex uninstalled. There is definitely
something wrong with the 6.0.1 and 6.0.3 packages, in particular with the
maplexer.l file.

Thanks to everyone that helped,

Luís



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Error-compiling-Mapserver-6-0-3-tp4998005p4998782.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Eichner, Andreas - SID-NLKM

 make lexer

You can safely ommit that as maplexer.c is shipped with the distribution.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Luís de Sousa
Hi Andreas, please check the comments up thread to understand why I'm
including it.

Regards,

Luís

On 30 August 2012 10:45, Eichner, Andreas - SID-NLKM
andreas.eich...@sid.sachsen.de wrote:

 make lexer

 You can safely ommit that as maplexer.c is shipped with the distribution.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread thomas bonfort
As already stated multiple times, you have no reason to regenerate the
lexer yourself, i.e. flex and yacc are *not* a requirement for
building. Start off with a fresh directory from a 6.0.3 tarball, to be
sure touch maplexer.c and uninstall flex/yacc, and you should be fine.

On Thu, Aug 30, 2012 at 10:50 AM, Luís de Sousa
luis.a.de.so...@gmail.com wrote:
 Hi Andreas, please check the comments up thread to understand why I'm
 including it.

 Regards,

 Luís

 On 30 August 2012 10:45, Eichner, Andreas - SID-NLKM
 andreas.eich...@sid.sachsen.de wrote:

 make lexer

 You can safely ommit that as maplexer.c is shipped with the distribution.
 ___
 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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Luís de Sousa
On 30 August 2012 11:12, thomas bonfort thomas.bonf...@gmail.com wrote:
 As already stated multiple times, you have no reason to regenerate the
 lexer yourself, i.e. flex and yacc are *not* a requirement for
 building. Start off with a fresh directory from a 6.0.3 tarball, to be
 sure touch maplexer.c and uninstall flex/yacc, and you should be fine.


I've done that yesterday (or the day before) with both 6.0.3 and
6.0.1, please read my messages up thread. I'm not compiling maplexer.c
myself, I'm just following the instructions at the Mapserver website.

Thank you for the help in any case,

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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Eichner, Andreas - SID-NLKM

That's what I did on Debian Squeeze:

$ wget -O- http://download.osgeo.org/mapserver/mapserver-6.0.3.tar.gz; | tar xz
$ cd mapserver-6.0.3/
$ ./configure --with-ogr=/usr/bin/gdal-config --with-gdal=/usr/bin/gdal-config 
--with-wfsclient --with-wmsclient --enable-debug 
--with-curl-config=/usr/bin/curl-config --with-proj=/usr --with-tiff 
--with-gd=/usr --with-jpeg --with-freetype=/usr/bin/freetype-config 
--with-threads --with-wcs --with-libiconv=/usr --with-geos=/usr/bin/geos-config 
--with-libiconv=/usr --with-xml2-config=/usr/bin/xml2-config --with-sos 
--with-postgis=/usr/bin/pg_config
[...]
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:-DUSE_AGG_SVG_SYMBOLS
  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:   -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:
  WFS Client:-DUSE_WFS_LYR
  WCS Server:-DUSE_WCS_SVR
  SOS Server:-DUSE_SOS_SVR

 -- MapScript - 
  PHP MapScript: no
$ make
$ sudo make install

All went fine so I'm just wondering what the hell you're doing.
 

 -Ursprüngliche Nachricht-
 Von: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] 
 Gesendet: Donnerstag, 30. August 2012 11:56
 An: thomas bonfort
 Cc: Eichner, Andreas - SID-NLKM; mapserver-users@lists.osgeo.org
 Betreff: Re: [mapserver-users] Error compiling Mapserver 6.0.3
 
 On 30 August 2012 11:12, thomas bonfort 
 thomas.bonf...@gmail.com wrote:
  As already stated multiple times, you have no reason to 
 regenerate the
  lexer yourself, i.e. flex and yacc are *not* a requirement for
  building. Start off with a fresh directory from a 6.0.3 
 tarball, to be
  sure touch maplexer.c and uninstall flex/yacc, and you 
 should be fine.
 
 
 I've done that yesterday (or the day before) with both 6.0.3 and
 6.0.1, please read my messages up thread. I'm not compiling maplexer.c
 myself, I'm just following the instructions at the Mapserver website.
 
 Thank you for the help in any case,
 
 Luís
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Luís de Sousa
On 30 August 2012 12:05, Eichner, Andreas - SID-NLKM

 All went fine so I'm just wondering what the hell you're doing.


Hi Andreas, if you read the very first message in this thread you'll
see that was the first thing I tried.

Regards,

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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-29 Thread Luís de Sousa
Dear all,

Following Cristiano's suggestion I downloaded the 6.0.1 tar, a version that
I'm sure works properly. The log goes below. Basically, on a first compile
make complains of not having yacc installed. After installing byacc there's
a parse error on mapparser.y.

What intrigues me is that neither yacc nor lex are referenced in the install
instructions. On other occasions I had to compile Mapserver I don't remember
installing these packages either.

Any further insight is welcome. Thanks for helping,

Luís

$ cd mapserver-6.0.1

$ ./configure --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/bin/gdal-config --with-wfsclient --with-wmsclient
--enable-debug --with-curl-config=/usr/bincurl-config --with-proj=/usr/lib/
--with-tiff --with-gd=/usr/lib/ --with-jpeg --with-freetype=/usr/include/
--with-threads --with-wcs --with-libiconv=/usr
--with-geos=/usr/local/bin/geos-config --with-libiconv=/usr
--with-xml2-config=/usr/bin/xml2-config --with-sos
--with-postgis=/usr/lib/postgresql/9.1/bin/pg_config
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.1'
checking if pkg-config path is provided... checking for pkg-config...
/usr/bin/pkg-config
checking for Freetype2.x in /usr/include/... 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... yes
using libXpm from system libs.
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 -L/usr/lib -lc
libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.28 or higher...
checking for gdImageCreatePaletteFromTrueColor in -lgd... yes
using libgd 2.0.28 (or higher) from -L/usr/lib/ -lgd -ljpeg  -lpng
-lz -lXpm -lX11 
checking for gdImageGif in -lc... yes
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageSetResolution in -lc... no
checking for gdImageOpenPolygon in -lc... yes
checking for gdImageGifPtr in -lc... yes
checking for gdFontGetTiny in -lc... yes
checking whether gdImageGetTrueColorPixel is declared... yes
checking for gdImageGetTrueColorPixel in -lc... yes
using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT 

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-29 Thread Luís de Sousa
Dear all, here's a digest of my exploits today:

. The error on mapparser.y was coming up because I was trying to recompile
without cleaning first;

. The compile process doesn't go through without yacc (byacc in this case)
installed;

. With yacc installed the compilation goes through a good length and then
fails on maplexer.l:
maplexer.l: In function ‘msyylex’:
maplexer.l:178: error: ‘IN’ undeclared (first use in this function)
maplexer.l:178: error: (Each undeclared identifier is reported only once
maplexer.l:178: error: for each function it appears in.)
make: *** [maplexer.o] Error 1

I have tried to use touch again, as Thomas suggested, but this error
remains. Is there any other way to avoid the generation of maplexer.c? Would
editing the makefile be an option?

Also important to note that this behaviour is exactly the same with either
Mapserver 6.0.1 or 6.0.3.

Thank you for reading,

Luís



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Error-compiling-Mapserver-6-0-3-tp4998005p4998519.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
Hi Steve, here's the flex version:

$ flex -V
flex 2.5.35

This is the version I got from the repos. Thanks for helping,

Luís



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Error-compiling-Mapserver-6-0-3-tp4998005p4998228.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
Hi Cristiano, after removing byacc I get this in the configuration:

checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no

Then running make I get the exact same error as before. Thank you,

Luís

On 27 August 2012 19:01, Cristiano Sumariva sumar...@gmail.com wrote:
 Your configure reports a byacc. Try remove it and run again.
 checking for byacc... byacc

 This is an output for 5.6.7 mapserver that compiled on my older Ubuntu
 system.

 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

 Hope it helps some.


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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread thomas bonfort
Luis,
Our repo contains a generated version of maplexer.c that should not
need to be re-generated by end users. You should be able to either
uninstall flex and/or copy back the original version of maplexer.c to
get going.

--
thomas

On Tue, Aug 28, 2012 at 9:05 AM, Luís de Sousa
luis.a.de.so...@gmail.com wrote:
 Hi Cristiano, after removing byacc I get this in the configuration:

 checking for flex... flex
 checking for yywrap in -lfl... yes
 checking lex output file root... lex.yy
 checking whether yytext is a pointer... yes
 checking for bison... no
 checking for byacc... no

 Then running make I get the exact same error as before. Thank you,

 Luís

 On 27 August 2012 19:01, Cristiano Sumariva sumar...@gmail.com wrote:
 Your configure reports a byacc. Try remove it and run again.
 checking for byacc... byacc

 This is an output for 5.6.7 mapserver that compiled on my older Ubuntu
 system.

 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

 Hope it helps some.


 ___
 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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
Hi Thomas,

I tried to uninstall flex but I get the same error. Where can I get
maplexer.c and where should  I copy it too?

Thank you for the help,

Luís

On 28 August 2012 09:36, thomas bonfort thomas.bonf...@gmail.com wrote:
 Luis,
 Our repo contains a generated version of maplexer.c that should not
 need to be re-generated by end users. You should be able to either
 uninstall flex and/or copy back the original version of maplexer.c to
 get going.

 --
 thomas

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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
Hi again Thomas,

Indeed the file is there. So now 2 questions:
a) where do have to copy it to?
b) how do I run make so that it doesn't fire flex?

Thank you,

Luís

On 28 August 2012 11:06, thomas bonfort thomas.bonf...@gmail.com wrote:
 From the original tarball

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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
Hi again,

I'm still getting the same error, please see below.

Thank you,

Luís

$ touch maplexer.c

$ sudo make
gcc -c -g  -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR   -DUSE_WMS_LYR -DUSE_WFS_LYR
-DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
-DUSE_WCS_SVR  -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS-DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/
-I/usr/include//freetype2 -I/usr/lib/ -Irenderers/agg/include
-I/usr/lib/   -I/usr/local/include -I/usr/include/postgresql
-I/usr/local/include -I/usr/include   -I/usr/include/libxml2
maplexer.c -o maplexer.o
maplexer.l: In function ‘msyylex’:
maplexer.l:178: error: ‘IN’ undeclared (first use in this function)
maplexer.l:178: error: (Each undeclared identifier is reported only once
maplexer.l:178: error: for each function it appears in.)
make: *** [maplexer.o] Error 1

On 28 August 2012 11:56, thomas bonfort thomas.bonf...@gmail.com wrote:
 On Tue, Aug 28, 2012 at 11:28 AM, Luís de Sousa
 luis.a.de.so...@gmail.com wrote:
 Hi again Thomas,

 Indeed the file is there. So now 2 questions:
 a) where do have to copy it to?
 to where you're compiling...
 b) how do I run make so that it doesn't fire flex?
 `touch` it so it is more recent than maplexer.l

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


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread Luís de Sousa
My apologies for clouting the list with messages, but there's another thing I
noted going through the configure output:

configure: checking whether we should include WFS Server support...
OGC WFS Server support not requested. 

Although I'm including the --with-wfsclient argument. Is there something
else missing?

Thank you,

Luís



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Error-compiling-Mapserver-6-0-3-tp4998005p4998321.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-27 Thread Lime, Steve D (DNR)
What version of flex do you have installed? --Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Luís de Sousa
Sent: Monday, August 27, 2012 2:26 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Error compiling Mapserver 6.0.3

Dear all,

I'm trying to compile Mapserver 6.0.3 on Ubuntu Server 10.10 LTS, but I'm 
getting a compile error on maplexer.l. I reproduce below the outputs of 
configure and make; any insight on the issue is very welcome.

Thank you,

Luís

$ ./configure --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/bin/gdal-config --with-wfsclient --with-wmsclient 
--enable-debug --with-curl-config=/usr/bincurl-config --with-proj=/usr/lib/ 
--with-tiff --with-gd=/usr/lib/ --with-jpeg --with-freetype=/usr/include/ 
--with-threads --with-wcs --with-libiconv=/usr 
--with-geos=/usr/local/bin/geos-config --with-libiconv=/usr 
--with-xml2-config=/usr/bin/xml2-config --with-sos 
--with-postgis=/usr/lib/postgresql/9.1/bin/pg_config
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... byacc 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...
/usr/bin/pkg-config
checking for Freetype2.x in /usr/include/... 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... yes
using libXpm from system libs.
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 -L/usr/lib -lc
libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.28 or higher...
checking for gdImageCreatePaletteFromTrueColor in -lgd... yes
using libgd 2.0.28 (or higher) from -L/usr/lib/ -lgd -ljpeg  -lpng -lz 
-lXpm -lX11 checking for gdImageGif in -lc... yes checking for gdImagePng in 
-lc... yes checking for gdImageJpeg in -lc... yes checking for gdImageWBMP in 
-lc... yes checking for gdImageStringFT in -lc... yes checking for 
gdImageSetResolution in -lc... no checking for gdImageOpenPolygon in -lc... yes 
checking for gdImageGifPtr in -lc... yes checking for gdFontGetTiny in -lc... 
yes checking whether gdImageGetTrueColorPixel is declared... yes checking for 
gdImageGetTrueColorPixel in -lc... yes
using