Re: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
committed yesterday into trunk On Sat, Mar 19, 2011 at 2:55 PM, Lime, Steve D (DNR) wrote: > Changes should go into trunk... Steve > > From: mapserver-users-boun...@lists.osgeo.org [ > mapserver-users-boun...@lists.osgeo.org] On Behalf Of Umberto Nicoletti [ > umberto.nicole...@gmail.com] > Sent: Saturday, March 19, 2011 5:37 AM > To: peter.hopfgart...@r3-gis.com; Daniel Morissette > Cc: mapserver-users > Subject: Re: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems > building Java MapScript > > I'm still working on it as it seems there is a memory problem (the tests > crash consistently), but unless you create map, layers and other object > programmatically you should be fine. > > @daniel: where should I commit the changes? > > Cheers, > Umberto > > On Sat, Mar 19, 2011 at 11:19 AM, Peter Hopfgartner < > peter.hopfgart...@r3-gis.com<mailto:peter.hopfgart...@r3-gis.com>> wrote: > Seems good. > > Thanks, > > Peter > > R3 GIS Srl - GmbH > http://www.r3-gis.com > > > Umberto Nicoletti umberto.nicole...@gmail.com>> wrote > Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems > building Java MapScript > Date: 19.03.2011 09:59 > > >Try the attached patch and if it works I will commit the changes. > >The Makefile.in for java mapscript is probaly missing other defines from > >the > >main Makefile, I'm looking into it right now. > > > >Regards, > >Umberto > > > >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < > >peter.hopfgart...@r3-gis.com<mailto:peter.hopfgart...@r3-gis.com>> wrote: > > > >> On CentOS 5.5: > >> > >> After running > >> > >> ./configure --with-gd --with-zlib --with-tiff --with-freetype > >--with-gdal > >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs > >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo > >> --with-postgis --with-curl-config --with-xml2-config --with-threads > >> --enable-debug > >> > >> in mapscript/java/Makefile I've found the following, which causes some > >> troubles afterwards: > >> > >> AGG= @AGG_ENABLED@ > >> AGG_INC= -Irenderers/agg/include > >> > >> (...) > >> PDF_INC= @PDF_INC@ > >> PDF_LIB= @PDF_LIB@ > >> PDF= @PDF_ENABLED@ > >> > >> > >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. > >> > >> Unfortunatly my autoconf skills are very low, so I not really know how > >to > >> provide a fix or better diagnosis. > >> > >> Peter > >> > >> R3 GIS Srl - GmbH > >> http://www.r3-gis.com > >> > >> > >> Daniel Morissette dmorisse...@mapgears.com>> wrote > >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release > >> Date: 18.03.2011 20:48 > >> > >> >Thanks to the hard work from everyone during the Montreal Code Sprint > >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the > >> >MapServer Team is pleased to announce the release of MapServer > >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 > >release, > >> >and includes a large number of fixes made during the Montreal Code > >> >Sprint. > >> > > >> >The 6.0 release introduces important changes in key components of the > >> >MapServer core (rendering, query and expressions), and for this reason > >> >we count on you, MapServer power users, to help test the release in > >your > >> >respective environments and provide feedback (through the users list > >or > >> >Trac tickets). > >> > > >> >This is the second of four planned beta releases and if all goes well > >a > >> >final release should occur around the end of April. The full release > >> >plan which also includes the list of new features and changes in this > >> >release is available at: > >> > > >http://mapserver.org/trunk/development/release/release-plan-6.0.html > >> > > >> >The list of fixes since beta1 is attached at the end of this message. > >> >For a complete list see the HISTORY.TXT file at: > >> > > >> > > >> > > >> > > > http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT > >>
RE: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
Changes should go into trunk... Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Umberto Nicoletti [umberto.nicole...@gmail.com] Sent: Saturday, March 19, 2011 5:37 AM To: peter.hopfgart...@r3-gis.com; Daniel Morissette Cc: mapserver-users Subject: Re: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript I'm still working on it as it seems there is a memory problem (the tests crash consistently), but unless you create map, layers and other object programmatically you should be fine. @daniel: where should I commit the changes? Cheers, Umberto On Sat, Mar 19, 2011 at 11:19 AM, Peter Hopfgartner mailto:peter.hopfgart...@r3-gis.com>> wrote: Seems good. Thanks, Peter R3 GIS Srl - GmbH http://www.r3-gis.com Umberto Nicoletti mailto:umberto.nicole...@gmail.com>> wrote Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript Date: 19.03.2011 09:59 >Try the attached patch and if it works I will commit the changes. >The Makefile.in for java mapscript is probaly missing other defines from >the >main Makefile, I'm looking into it right now. > >Regards, >Umberto > >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < >peter.hopfgart...@r3-gis.com<mailto:peter.hopfgart...@r3-gis.com>> wrote: > >> On CentOS 5.5: >> >> After running >> >> ./configure --with-gd --with-zlib --with-tiff --with-freetype >--with-gdal >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo >> --with-postgis --with-curl-config --with-xml2-config --with-threads >> --enable-debug >> >> in mapscript/java/Makefile I've found the following, which causes some >> troubles afterwards: >> >> AGG= @AGG_ENABLED@ >> AGG_INC= -Irenderers/agg/include >> >> (...) >> PDF_INC= @PDF_INC@ >> PDF_LIB= @PDF_LIB@ >> PDF= @PDF_ENABLED@ >> >> >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. >> >> Unfortunatly my autoconf skills are very low, so I not really know how >to >> provide a fix or better diagnosis. >> >> Peter >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Daniel Morissette >> mailto:dmorisse...@mapgears.com>> wrote >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release >> Date: 18.03.2011 20:48 >> >> >Thanks to the hard work from everyone during the Montreal Code Sprint >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the >> >MapServer Team is pleased to announce the release of MapServer >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 >release, >> >and includes a large number of fixes made during the Montreal Code >> >Sprint. >> > >> >The 6.0 release introduces important changes in key components of the >> >MapServer core (rendering, query and expressions), and for this reason >> >we count on you, MapServer power users, to help test the release in >your >> >respective environments and provide feedback (through the users list >or >> >Trac tickets). >> > >> >This is the second of four planned beta releases and if all goes well >a >> >final release should occur around the end of April. The full release >> >plan which also includes the list of new features and changes in this >> >release is available at: >> > >http://mapserver.org/trunk/development/release/release-plan-6.0.html >> > >> >The list of fixes since beta1 is attached at the end of this message. >> >For a complete list see the HISTORY.TXT file at: >> > >> > >> > >> >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT >> > >> >We have started working on a 5.6 -> 6.0 migration guide. This document >> >contains important notes on backwards incompatibilities or other >changes >> >required when upgrading to 6.0. It is not complete yet but we strongly >> >recommend that you review the latest version online at: >> > >> > http://mapserver.org/trunk/MIGRATION_GUIDE.html >> > >> >The source for this release can be downloaded at: >> > >> > http://mapserver.org/download.html >> >or >> > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz >> > >> >The binary distributions listed in
Re: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
make test still fails with a SIGSEV in: C [libmapscript.so+0xd3bfa] msFree+0x23 C [libmapscript.so+0xbdb88] msFreeHashItems+0x9e C [libmapscript.so+0xfa2f6] msFreeFontSet+0x3f C [libmapscript.so+0x143711] msFreeMap+0x102 but I can't understand what's going on (have tried memory debuggers without luck so far). Has anyone suggestions on what I should be looking into? Umberto On Sat, Mar 19, 2011 at 11:37 AM, Umberto Nicoletti < umberto.nicole...@gmail.com> wrote: > I'm still working on it as it seems there is a memory problem (the tests > crash consistently), but unless you create map, layers and other object > programmatically you should be fine. > > @daniel: where should I commit the changes? > > Cheers, > Umberto > > On Sat, Mar 19, 2011 at 11:19 AM, Peter Hopfgartner < > peter.hopfgart...@r3-gis.com> wrote: > >> Seems good. >> >> Thanks, >> >> Peter >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Umberto Nicoletti wrote >> Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems >> building Java MapScript >> Date: 19.03.2011 09:59 >> >> >Try the attached patch and if it works I will commit the changes. >> >The Makefile.in for java mapscript is probaly missing other defines from >> >the >> >main Makefile, I'm looking into it right now. >> > >> >Regards, >> >Umberto >> > >> >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < >> >peter.hopfgart...@r3-gis.com> wrote: >> > >> >> On CentOS 5.5: >> >> >> >> After running >> >> >> >> ./configure --with-gd --with-zlib --with-tiff --with-freetype >> >--with-gdal >> >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs >> >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo >> >> --with-postgis --with-curl-config --with-xml2-config --with-threads >> >> --enable-debug >> >> >> >> in mapscript/java/Makefile I've found the following, which causes some >> >> troubles afterwards: >> >> >> >> AGG= @AGG_ENABLED@ >> >> AGG_INC= -Irenderers/agg/include >> >> >> >> (...) >> >> PDF_INC= @PDF_INC@ >> >> PDF_LIB= @PDF_LIB@ >> >> PDF= @PDF_ENABLED@ >> >> >> >> >> >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. >> >> >> >> Unfortunatly my autoconf skills are very low, so I not really know how >> >to >> >> provide a fix or better diagnosis. >> >> >> >> Peter >> >> >> >> R3 GIS Srl - GmbH >> >> http://www.r3-gis.com >> >> >> >> >> >> Daniel Morissette wrote >> >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release >> >> Date: 18.03.2011 20:48 >> >> >> >> >Thanks to the hard work from everyone during the Montreal Code Sprint >> >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the >> >> >MapServer Team is pleased to announce the release of MapServer >> >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 >> >release, >> >> >and includes a large number of fixes made during the Montreal Code >> >> >Sprint. >> >> > >> >> >The 6.0 release introduces important changes in key components of the >> >> >MapServer core (rendering, query and expressions), and for this reason >> >> >we count on you, MapServer power users, to help test the release in >> >your >> >> >respective environments and provide feedback (through the users list >> >or >> >> >Trac tickets). >> >> > >> >> >This is the second of four planned beta releases and if all goes well >> >a >> >> >final release should occur around the end of April. The full release >> >> >plan which also includes the list of new features and changes in this >> >> >release is available at: >> >> > >> >http://mapserver.org/trunk/development/release/release-plan-6.0.html >> >> > >> >> >The list of fixes since beta1 is attached at the end of this message. >> >> >For a complete list see the HISTORY.TXT file at: >> >> > >> >> > >> >> > >> >> >> > >> http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT >> >> > >> >> >We have started working on a 5.6 -> 6.0 migration guide. This document >> >> >contains important notes on backwards incompatibilities or other >> >changes >> >> >required when upgrading to 6.0. It is not complete yet but we strongly >> >> >recommend that you review the latest version online at: >> >> > >> >> > http://mapserver.org/trunk/MIGRATION_GUIDE.html >> >> > >> >> >The source for this release can be downloaded at: >> >> > >> >> > http://mapserver.org/download.html >> >> >or >> >> > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz >> >> > >> >> >The binary distributions listed in the download page should be updated >> >> >with binaries for the new beta release in the next day or so. >> >> > >> >> >Once again we need your help to ensure a high quality product, so >> >please >> >> >help out by testing your applications with this new code base. >> >> > >> >> >Thanks! - The MapServer Team >> >> > >> >> > >> >> >Version 6.0.0-beta2 (2011-03-18) >> >> > >> >> > >> >> >- cor
Re: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
I'm still working on it as it seems there is a memory problem (the tests crash consistently), but unless you create map, layers and other object programmatically you should be fine. @daniel: where should I commit the changes? Cheers, Umberto On Sat, Mar 19, 2011 at 11:19 AM, Peter Hopfgartner < peter.hopfgart...@r3-gis.com> wrote: > Seems good. > > Thanks, > > Peter > > R3 GIS Srl - GmbH > http://www.r3-gis.com > > > Umberto Nicoletti wrote > Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems > building Java MapScript > Date: 19.03.2011 09:59 > > >Try the attached patch and if it works I will commit the changes. > >The Makefile.in for java mapscript is probaly missing other defines from > >the > >main Makefile, I'm looking into it right now. > > > >Regards, > >Umberto > > > >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < > >peter.hopfgart...@r3-gis.com> wrote: > > > >> On CentOS 5.5: > >> > >> After running > >> > >> ./configure --with-gd --with-zlib --with-tiff --with-freetype > >--with-gdal > >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs > >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo > >> --with-postgis --with-curl-config --with-xml2-config --with-threads > >> --enable-debug > >> > >> in mapscript/java/Makefile I've found the following, which causes some > >> troubles afterwards: > >> > >> AGG= @AGG_ENABLED@ > >> AGG_INC= -Irenderers/agg/include > >> > >> (...) > >> PDF_INC= @PDF_INC@ > >> PDF_LIB= @PDF_LIB@ > >> PDF= @PDF_ENABLED@ > >> > >> > >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. > >> > >> Unfortunatly my autoconf skills are very low, so I not really know how > >to > >> provide a fix or better diagnosis. > >> > >> Peter > >> > >> R3 GIS Srl - GmbH > >> http://www.r3-gis.com > >> > >> > >> Daniel Morissette wrote > >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release > >> Date: 18.03.2011 20:48 > >> > >> >Thanks to the hard work from everyone during the Montreal Code Sprint > >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the > >> >MapServer Team is pleased to announce the release of MapServer > >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 > >release, > >> >and includes a large number of fixes made during the Montreal Code > >> >Sprint. > >> > > >> >The 6.0 release introduces important changes in key components of the > >> >MapServer core (rendering, query and expressions), and for this reason > >> >we count on you, MapServer power users, to help test the release in > >your > >> >respective environments and provide feedback (through the users list > >or > >> >Trac tickets). > >> > > >> >This is the second of four planned beta releases and if all goes well > >a > >> >final release should occur around the end of April. The full release > >> >plan which also includes the list of new features and changes in this > >> >release is available at: > >> > > >http://mapserver.org/trunk/development/release/release-plan-6.0.html > >> > > >> >The list of fixes since beta1 is attached at the end of this message. > >> >For a complete list see the HISTORY.TXT file at: > >> > > >> > > >> > > >> > > > http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT > >> > > >> >We have started working on a 5.6 -> 6.0 migration guide. This document > >> >contains important notes on backwards incompatibilities or other > >changes > >> >required when upgrading to 6.0. It is not complete yet but we strongly > >> >recommend that you review the latest version online at: > >> > > >> > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >> > > >> >The source for this release can be downloaded at: > >> > > >> > http://mapserver.org/download.html > >> >or > >> > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz > >> > > >> >The binary distributions listed in the download page should be updated > >> >with binaries for the new beta release in the next day or so. > >> > > >> >Once again we need your help to ensure a high quality product, so > >please > >> >help out by testing your applications with this new code base. > >> > > >> >Thanks! - The MapServer Team > >> > > >> > > >> >Version 6.0.0-beta2 (2011-03-18) > >> > > >> > > >> >- correct scaling of symbol GAP and PATTERN (#3752) > >> > > >> >- remove references to SWF/MING > >> > > >> >- CGI runtime substitution requires a validation pattern (was optional > >> > before) (#3522) > >> > > >> >- add a default png8 outputformat that uses AGG/PNG with quantization > >> > > >> >- change MS_INIT_COLOR to take alpha as a parameter > >> > > >> >- stop using style->opacity in rendering code, use alpha from > >colorObjs. > >> > > >> >- Fixed big Oracle memory leak when rendering in KML (#3719) > >> > > >> >- avoid linking in postgres dependencies unnecessarily (#3708) > >> > > >> >- don't initialize output
RE: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
Seems good. Thanks, Peter R3 GIS Srl - GmbH http://www.r3-gis.com Umberto Nicoletti wrote Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript Date: 19.03.2011 09:59 >Try the attached patch and if it works I will commit the changes. >The Makefile.in for java mapscript is probaly missing other defines from >the >main Makefile, I'm looking into it right now. > >Regards, >Umberto > >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < >peter.hopfgart...@r3-gis.com> wrote: > >> On CentOS 5.5: >> >> After running >> >> ./configure --with-gd --with-zlib --with-tiff --with-freetype >--with-gdal >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo >> --with-postgis --with-curl-config --with-xml2-config --with-threads >> --enable-debug >> >> in mapscript/java/Makefile I've found the following, which causes some >> troubles afterwards: >> >> AGG= @AGG_ENABLED@ >> AGG_INC= -Irenderers/agg/include >> >> (...) >> PDF_INC= @PDF_INC@ >> PDF_LIB= @PDF_LIB@ >> PDF= @PDF_ENABLED@ >> >> >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. >> >> Unfortunatly my autoconf skills are very low, so I not really know how >to >> provide a fix or better diagnosis. >> >> Peter >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Daniel Morissette wrote >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release >> Date: 18.03.2011 20:48 >> >> >Thanks to the hard work from everyone during the Montreal Code Sprint >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the >> >MapServer Team is pleased to announce the release of MapServer >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 >release, >> >and includes a large number of fixes made during the Montreal Code >> >Sprint. >> > >> >The 6.0 release introduces important changes in key components of the >> >MapServer core (rendering, query and expressions), and for this reason >> >we count on you, MapServer power users, to help test the release in >your >> >respective environments and provide feedback (through the users list >or >> >Trac tickets). >> > >> >This is the second of four planned beta releases and if all goes well >a >> >final release should occur around the end of April. The full release >> >plan which also includes the list of new features and changes in this >> >release is available at: >> > >http://mapserver.org/trunk/development/release/release-plan-6.0.html >> > >> >The list of fixes since beta1 is attached at the end of this message. >> >For a complete list see the HISTORY.TXT file at: >> > >> > >> > >> >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT >> > >> >We have started working on a 5.6 -> 6.0 migration guide. This document >> >contains important notes on backwards incompatibilities or other >changes >> >required when upgrading to 6.0. It is not complete yet but we strongly >> >recommend that you review the latest version online at: >> > >> > http://mapserver.org/trunk/MIGRATION_GUIDE.html >> > >> >The source for this release can be downloaded at: >> > >> > http://mapserver.org/download.html >> >or >> > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz >> > >> >The binary distributions listed in the download page should be updated >> >with binaries for the new beta release in the next day or so. >> > >> >Once again we need your help to ensure a high quality product, so >please >> >help out by testing your applications with this new code base. >> > >> >Thanks! - The MapServer Team >> > >> > >> >Version 6.0.0-beta2 (2011-03-18) >> > >> > >> >- correct scaling of symbol GAP and PATTERN (#3752) >> > >> >- remove references to SWF/MING >> > >> >- CGI runtime substitution requires a validation pattern (was optional >> > before) (#3522) >> > >> >- add a default png8 outputformat that uses AGG/PNG with quantization >> > >> >- change MS_INIT_COLOR to take alpha as a parameter >> > >> >- stop using style->opacity in rendering code, use alpha from >colorObjs. >> > >> >- Fixed big Oracle memory leak when rendering in KML (#3719) >> > >> >- avoid linking in postgres dependencies unnecessarily (#3708) >> > >> >- don't initialize outputformats until they are selected >> > >> >- use "seamless" creation of tiles for polygon fills with vector >symbols >> > >> >- Ability to escape single/double quotes inside a string (#3706) >> > >> >- Globally replace msCaseFindSubstring with strcasestr (#3255) >> > >> >- support GROUP layers in shp2img (#3746) >> > >> >- Honour MAXSIZE for WCS 2.0 responses (#3204). >> > >> >- fallback to ows_title for WCS ows:Title of CoverageDescription >(#3528) >> > >> >- Added msIO_stripStdoutBufferContentHeaders() to strip off all >> > Content-* headers from a buffer (#3673, #3665). >> > >> >- Added raster classificati