<font style="color: rgb(0, 0, 0);" color="#663366"><font size="2"><font face="trebuchet ms,sans-serif">Actually we are using version 5.4.<br><br>I just tried compiling 5.6.3 and got a new set of errors on make (non-related to agg)<br>

<br>mapstring.c: In function ‘msConvertWideStringToUTF8’:<br>mapstring.c:1542: warning: dereferencing type-punned pointer will break strict-aliasing rules<br>mapstring.c:1544: error: ‘errno’ undeclared (first use in this function)<br>

mapstring.c:1544: error: (Each undeclared identifier is reported only once<br>mapstring.c:1544: error: for each function it appears in.)<br>mapstring.c:1545: error: ‘E2BIG’ undeclared (first use in this function)<br>mapstring.c:1548: error: ‘EILSEQ’ undeclared (first use in this function)<br>

mapstring.c:1551: error: ‘EINVAL’ undeclared (first use in this function)<br>make: *** [mapstring.o] Error 1<br><br>I then tried version 5.6.1 which compiled and installed perfectly, but when trying to actually draw a map, it reported an error with my postgis layer:<br>

<br>[Wed Mar 24 09:49:48 2010].943741 msPostGISLayerGetItems(): Query error. Error (ERROR:  column &quot;box&quot; does not exist<br>LINE 1: ...om geom_cassidi_states where the_geom &amp;&amp; setsrid(!BOX!,4269)...<br>                                                             ^<br>

) executing SQL: select * from (select the_geom, state_name, gid from geom_cassidi_states where the_geom &amp;&amp; setsrid(!BOX!,4269)) as foo where false limit 0<br></font></font></font><br style="color: rgb(0, 0, 0);">

<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">so not sure what to do now ...</span><br><br><br><div class="gmail_quote">On Wed, Mar 24, 2010 at 9:52 AM, Alan Boudreault <span dir="ltr">&lt;<a href="mailto:aboudreault@mapgears.com">aboudreault@mapgears.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Julie, what mapserver version are you using? AGG is already included in<br>
mapserver 5.6.x source. Just compile with &quot;--with-agg&quot; option. I&#39;m not sure MS<br>
has been tested with agg 2.5.<br>
<br>
Alan<br>
<div><div></div><div class="h5"><br>
On March 24, 2010 10:22:35 am Julie Knoll wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have installed packages for agg-2.5 and agg-devel-2.5 on our server.<br>
&gt; Compling mapserver using ./configure --with-php=/usr/include/php<br>
&gt; --with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr<br>
&gt;  works fine. However make returns the following errors. Could someone<br>
&gt;  please help? The server is CentOS 5.4<br>
&gt;<br>
&gt; /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named ‘row_data’<br>
&gt;  in ‘class mapserv_row_ptr_cache&lt;int&gt;’<br>
&gt; /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named ‘row_data’<br>
&gt;  in ‘class mapserv_row_ptr_cache&lt;int&gt;’<br>
&gt; mapagg.cpp: In member function ‘void<br>
&gt; AGGMapserverRenderer::renderEllipse(double, double, double, double, double,<br>
&gt; agg::rgba8&amp;, agg::rgba8&amp;, double)’:<br>
&gt; mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,<br>
&gt; imageObj*, pointObj*, double, styleObj*, double)’:<br>
&gt; mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,<br>
&gt; imageObj*, pointObj*, styleObj*, double)’:<br>
&gt; mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,<br>
&gt; symbolSetObj*, styleObj*, double)’:<br>
&gt; mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*, imageObj*,<br>
&gt; shapeObj*, styleObj*, double)’:<br>
&gt; mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,<br>
&gt;  imageObj*, shapeObj*, styleObj*, double)’:<br>
&gt; mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named<br>
&gt; ‘transform’<br>
&gt; make: *** [mapagg.o] Error 1<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
Alan Boudreault<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">http://www.mapgears.com</a><br>
</font></blockquote></div><br>