Try the attached patch and if it works I will commit the changes.<div>The Makefile.in for java mapscript is probaly missing other defines from the main Makefile, I'm looking into it right now.</div><div><br></div><div>
Regards,</div><div>Umberto<br><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner <span dir="ltr"><<a href="mailto:peter.hopfgartner@r3-gis.com">peter.hopfgartner@r3-gis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On CentOS 5.5:<br>
<br>
After running<br>
<br>
./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<br>
<br>
in mapscript/java/Makefile I've found the following, which causes some troubles afterwards:<br>
<br>
AGG= @AGG_ENABLED@<br>
AGG_INC= -Irenderers/agg/include<br>
<br>
(...)<br>
PDF_INC= @PDF_INC@<br>
PDF_LIB= @PDF_LIB@<br>
PDF= @PDF_ENABLED@<br>
<br>
<br>
I have the same situation with Ubuntu 10.04 on current SVN, as of now.<br>
<br>
Unfortunatly my autoconf skills are very low, so I not really know how to provide a fix or better diagnosis.<br>
<br>
Peter<br>
<br>
R3 GIS Srl - GmbH<br>
<a href="http://www.r3-gis.com" target="_blank">http://www.r3-gis.com</a><br>
<br>
<br>
--------Daniel Morissette <<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>> wrote--------<br>
Subject: [mapserver-users] MapServer 6.0.0-beta2 release<br>
Date: 18.03.2011 20:48<br>
<br>
>Thanks to the hard work from everyone during the Montreal Code Sprint<br>
>this week (<a href="http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011" target="_blank">http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011</a>), the<br>
>MapServer Team is pleased to announce the release of MapServer<br>
>6.0.0-beta2. This is the latest beta on our way to a final 6.0 release,<br>
>and includes a large number of fixes made during the Montreal Code<br>
>Sprint.<br>
><br>
>The 6.0 release introduces important changes in key components of the<br>
>MapServer core (rendering, query and expressions), and for this reason<br>
>we count on you, MapServer power users, to help test the release in your<br>
>respective environments and provide feedback (through the users list or<br>
>Trac tickets).<br>
><br>
>This is the second of four planned beta releases and if all goes well a<br>
>final release should occur around the end of April. The full release<br>
>plan which also includes the list of new features and changes in this<br>
>release is available at:<br>
> <a href="http://mapserver.org/trunk/development/release/release-plan-6.0.html" target="_blank">http://mapserver.org/trunk/development/release/release-plan-6.0.html</a><br>
><br>
>The list of fixes since beta1 is attached at the end of this message.<br>
>For a complete list see the HISTORY.TXT file at:<br>
><br>
><br>
><a href="http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT" target="_blank">http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT</a><br>
><br>
>We have started working on a 5.6 -> 6.0 migration guide. This document<br>
>contains important notes on backwards incompatibilities or other changes<br>
>required when upgrading to 6.0. It is not complete yet but we strongly<br>
>recommend that you review the latest version online at:<br>
><br>
> <a href="http://mapserver.org/trunk/MIGRATION_GUIDE.html" target="_blank">http://mapserver.org/trunk/MIGRATION_GUIDE.html</a><br>
><br>
>The source for this release can be downloaded at:<br>
><br>
> <a href="http://mapserver.org/download.html" target="_blank">http://mapserver.org/download.html</a><br>
>or<br>
> <a href="http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz" target="_blank">http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz</a><br>
><br>
>The binary distributions listed in the download page should be updated<br>
>with binaries for the new beta release in the next day or so.<br>
><br>
>Once again we need your help to ensure a high quality product, so please<br>
>help out by testing your applications with this new code base.<br>
><br>
>Thanks! - The MapServer Team<br>
><br>
><br>
>Version 6.0.0-beta2 (2011-03-18)<br>
>--------------------------------<br>
><br>
>- correct scaling of symbol GAP and PATTERN (#3752)<br>
><br>
>- remove references to SWF/MING<br>
><br>
>- CGI runtime substitution requires a validation pattern (was optional<br>
> before) (#3522)<br>
><br>
>- add a default png8 outputformat that uses AGG/PNG with quantization<br>
><br>
>- change MS_INIT_COLOR to take alpha as a parameter<br>
><br>
>- stop using style->opacity in rendering code, use alpha from colorObjs.<br>
><br>
>- Fixed big Oracle memory leak when rendering in KML (#3719)<br>
><br>
>- avoid linking in postgres dependencies unnecessarily (#3708)<br>
><br>
>- don't initialize outputformats until they are selected<br>
><br>
>- use "seamless" creation of tiles for polygon fills with vector symbols<br>
><br>
>- Ability to escape single/double quotes inside a string (#3706)<br>
><br>
>- Globally replace msCaseFindSubstring with strcasestr (#3255)<br>
><br>
>- support GROUP layers in shp2img (#3746)<br>
><br>
>- Honour MAXSIZE for WCS 2.0 responses (#3204).<br>
><br>
>- fallback to ows_title for WCS ows:Title of CoverageDescription (#3528)<br>
><br>
>- Added msIO_stripStdoutBufferContentHeaders() to strip off all<br>
> Content-* headers from a buffer (#3673, #3665).<br>
><br>
>- Added raster classification support for STYLE level OPACITY.<br>
><br>
>- Allow attribute references, that is [itemname], within a TEXT string<br>
>(#3736)<br>
><br>
>- Fixed segmentation fault when parsing invalid extent arguments in<br>
> shp2img (#3734)<br>
><br>
>- Make "openlayers mode" work even without OWS support (#3732)<br>
><br>
>- Add a static table to define the axis order for soem epsg codes (#3582)<br>
><br>
>- Add possibility to use KML_NAME_ITEM (#3728)<br>
><br>
>- Fixed mapfile parsing error when a label angle referenced an attribute<br>
> (e.g. ANGLE [angle]) #3727<br>
><br>
>- Removed executable flag on some source files (#3726)<br>
><br>
>- Fixed SQL Spatial to be able to use UniqueIdentifier field as unique<br>
> key (#3722)<br>
><br>
>- Fix PHP Windows build (#3714)<br>
><br>
>- Fixed --with-opengl build issue: Look for OpenGL libs under /usr/lib64<br>
>as<br>
> well (#3724)<br>
><br>
>_______________________________________________<br>
>mapserver-users mailing list<br>
><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></div>