[mapserver-users] Error compiling mapserver

2019-08-21 Thread Andrea Peri
Hi, I have update to last debian my pc and when try to recompile the mapserver from the last trunk code, I have this error: [ 79%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o [ 79%] Linking CXX shared library libmapserver.so [ 79%] Built target mapserver Scanning

[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 --with-gd

Re: [mapserver-users] Error compiling mapserver

2019-08-21 Thread Andrea Peri
Ho, I resolved. They was two distict issues. One was a too old version of harfbuzz . The other error.was resolved removing the option with-jpeg from installation of Libgeotiff. A. Il mer 21 ago 2019, 10:01 Andrea Peri ha scritto: > Hi, > I have update to last debian my pc and when try to rec

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 $ ./config

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-27 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 wrote: > Hi Crist

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 wrote: > Luis, > Our repo contains a generated version of maplexer.c that should not > need to be re-g

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread thomas bonfort
From the original tarball On Tue, Aug 28, 2012 at 11:03 AM, Luís de Sousa wrote: > 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 wro

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 wrote: > From the original tarball > ___ mapserv

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 Thread thomas bonfort
On Tue, Aug 28, 2012 at 11:28 AM, Luís de Sousa 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 > > Thank

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_PROXY

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

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-28 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 neit

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 lengt

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 desp

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 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 a

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 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 fl

Re: [mapserver-users] Error compiling Mapserver 6.0.3

2012-08-30 Thread Eichner, Andreas - SID-NLKM
ID-NLKM; mapserver-users@lists.osgeo.org > Betreff: Re: [mapserver-users] Error compiling Mapserver 6.0.3 > > On 30 August 2012 11:12, thomas bonfort > wrote: > > As already stated multiple times, you have no reason to > regenerate the > > lexer yourself, i.e. flex and ya

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 ___ maps

[mapserver-users] Error compiling mapserver 5.2 with agg

2008-07-17 Thread Luigi Castro Cardeles
Hi list, i tried compile mapserver 5.2 with agg 2.4-2.1 (x86_64) and i am getting this error message: mapagg.h:37: error: ISO C++ forbids declaration of 'const_row_info' with no type mapagg.h:37: error: typedef name may not be a nested-name-specifier mapagg.h:37: error: expected ';' before '<' t

Re: [mapserver-users] Error compiling mapserver 5.2 with agg

2008-07-17 Thread Milo van der Linden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Luigi, Today I compiled Mapserver 5.2 and agg 2.5.0 from source and in that combination the problem does not exist. It seems to me that the problem is in the 2.4-2.1 version of agg? I installed agg this way: wget http://www.antigrain.com/agg-2