<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 "box" does not exist<br>LINE 1: ...om geom_cassidi_states where the_geom && setsrid(!BOX!,4269)...<br> ^<br>
) executing SQL: select * from (select the_geom, state_name, gid from geom_cassidi_states where the_geom && 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"><<a href="mailto:aboudreault@mapgears.com">aboudreault@mapgears.com</a>></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 "--with-agg" option. I'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>
> Hi,<br>
><br>
> I have installed packages for agg-2.5 and agg-devel-2.5 on our server.<br>
> Compling mapserver using ./configure --with-php=/usr/include/php<br>
> --with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr<br>
> works fine. However make returns the following errors. Could someone<br>
> please help? The server is CentOS 5.4<br>
><br>
> /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named ‘row_data’<br>
> in ‘class mapserv_row_ptr_cache<int>’<br>
> /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named ‘row_data’<br>
> in ‘class mapserv_row_ptr_cache<int>’<br>
> mapagg.cpp: In member function ‘void<br>
> AGGMapserverRenderer::renderEllipse(double, double, double, double, double,<br>
> agg::rgba8&, agg::rgba8&, double)’:<br>
> mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,<br>
> imageObj*, pointObj*, double, styleObj*, double)’:<br>
> mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,<br>
> imageObj*, pointObj*, styleObj*, double)’:<br>
> mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,<br>
> symbolSetObj*, styleObj*, double)’:<br>
> mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*, imageObj*,<br>
> shapeObj*, styleObj*, double)’:<br>
> mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,<br>
> imageObj*, shapeObj*, styleObj*, double)’:<br>
> mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named<br>
> ‘transform’<br>
> make: *** [mapagg.o] Error 1<br>
><br>
> Thanks<br>
><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>