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

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.

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

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

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Eichner, Andreas - SID-NLKM
: [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

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 ___

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

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

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

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

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

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

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

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

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

[mapserver-users] Error compiling Mapserver 6.0.3

2012-08-27 Thread Luís de Sousa
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

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-27 Thread Lime, Steve D (DNR)
-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