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&#39;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">&lt;<a href="mailto:peter.hopfgartner@r3-gis.com">peter.hopfgartner@r3-gis.com</a>&gt;</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&#39;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 &lt;<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>&gt; wrote--------<br>
Subject: [mapserver-users] MapServer 6.0.0-beta2 release<br>
Date: 18.03.2011 20:48<br>
<br>
&gt;Thanks to the hard work from everyone during the Montreal Code Sprint<br>
&gt;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>
&gt;MapServer Team is pleased to announce the release of MapServer<br>
&gt;6.0.0-beta2. This is the latest beta on our way to a final 6.0 release,<br>
&gt;and includes a large number of fixes made during the Montreal Code<br>
&gt;Sprint.<br>
&gt;<br>
&gt;The 6.0 release introduces important changes in key components of the<br>
&gt;MapServer core (rendering, query and expressions), and for this reason<br>
&gt;we count on you, MapServer power users, to help test the release in your<br>
&gt;respective environments and provide feedback (through the users list or<br>
&gt;Trac tickets).<br>
&gt;<br>
&gt;This is the second of four planned beta releases and if all goes well a<br>
&gt;final release should occur around the end of April. The full release<br>
&gt;plan which also includes the list of new features and changes in this<br>
&gt;release is available at:<br>
&gt;   <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>
&gt;<br>
&gt;The list of fixes since beta1 is attached at the end of this message.<br>
&gt;For a complete list see the HISTORY.TXT file at:<br>
&gt;<br>
&gt;<br>
&gt;<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>
&gt;<br>
&gt;We have started working on a 5.6 -&gt; 6.0 migration guide. This document<br>
&gt;contains important notes on backwards incompatibilities or other changes<br>
&gt;required when upgrading to 6.0. It is not complete yet but we strongly<br>
&gt;recommend that you review the latest version online at:<br>
&gt;<br>
&gt;     <a href="http://mapserver.org/trunk/MIGRATION_GUIDE.html" target="_blank">http://mapserver.org/trunk/MIGRATION_GUIDE.html</a><br>
&gt;<br>
&gt;The source for this release can be downloaded at:<br>
&gt;<br>
&gt;     <a href="http://mapserver.org/download.html" target="_blank">http://mapserver.org/download.html</a><br>
&gt;or<br>
&gt;     <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>
&gt;<br>
&gt;The binary distributions listed in the download page should be updated<br>
&gt;with binaries for the new beta release in the next day or so.<br>
&gt;<br>
&gt;Once again we need your help to ensure a high quality product, so please<br>
&gt;help out by testing your applications with this new code base.<br>
&gt;<br>
&gt;Thanks! - The MapServer Team<br>
&gt;<br>
&gt;<br>
&gt;Version 6.0.0-beta2 (2011-03-18)<br>
&gt;--------------------------------<br>
&gt;<br>
&gt;- correct scaling of symbol GAP and PATTERN (#3752)<br>
&gt;<br>
&gt;- remove references to SWF/MING<br>
&gt;<br>
&gt;- CGI runtime substitution requires a validation pattern (was optional<br>
&gt;   before) (#3522)<br>
&gt;<br>
&gt;- add a default png8 outputformat that uses AGG/PNG with quantization<br>
&gt;<br>
&gt;- change MS_INIT_COLOR to take alpha as a parameter<br>
&gt;<br>
&gt;- stop using style-&gt;opacity in rendering code, use alpha from colorObjs.<br>
&gt;<br>
&gt;- Fixed big Oracle memory leak when rendering in KML (#3719)<br>
&gt;<br>
&gt;- avoid linking in postgres dependencies unnecessarily (#3708)<br>
&gt;<br>
&gt;- don&#39;t initialize outputformats until they are selected<br>
&gt;<br>
&gt;- use &quot;seamless&quot; creation of tiles for polygon fills with vector symbols<br>
&gt;<br>
&gt;- Ability to escape single/double quotes inside a string (#3706)<br>
&gt;<br>
&gt;- Globally replace msCaseFindSubstring with strcasestr (#3255)<br>
&gt;<br>
&gt;- support GROUP layers in shp2img (#3746)<br>
&gt;<br>
&gt;- Honour MAXSIZE for WCS 2.0 responses (#3204).<br>
&gt;<br>
&gt;- fallback to ows_title for WCS ows:Title of CoverageDescription (#3528)<br>
&gt;<br>
&gt;- Added msIO_stripStdoutBufferContentHeaders() to strip off all<br>
&gt;   Content-* headers from a buffer (#3673, #3665).<br>
&gt;<br>
&gt;- Added raster classification support for STYLE level OPACITY.<br>
&gt;<br>
&gt;- Allow attribute references, that is [itemname], within a TEXT string<br>
&gt;(#3736)<br>
&gt;<br>
&gt;- Fixed segmentation fault when parsing invalid extent arguments in<br>
&gt;   shp2img (#3734)<br>
&gt;<br>
&gt;- Make &quot;openlayers mode&quot; work even without OWS support (#3732)<br>
&gt;<br>
&gt;- Add a static table to define the axis order for soem epsg codes (#3582)<br>
&gt;<br>
&gt;- Add possibility to use KML_NAME_ITEM (#3728)<br>
&gt;<br>
&gt;- Fixed mapfile parsing error when a label angle referenced an attribute<br>
&gt;   (e.g. ANGLE [angle]) #3727<br>
&gt;<br>
&gt;- Removed executable flag on some source files (#3726)<br>
&gt;<br>
&gt;- Fixed SQL Spatial to be able to use UniqueIdentifier field as unique<br>
&gt;   key (#3722)<br>
&gt;<br>
&gt;- Fix PHP Windows build (#3714)<br>
&gt;<br>
&gt;- Fixed --with-opengl build issue: Look for OpenGL libs under /usr/lib64<br>
&gt;as<br>
&gt;   well (#3724)<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;mapserver-users mailing list<br>
&gt;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt;<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<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>