<font color="#663366"><font size="2"><font face="trebuchet ms,sans-serif">That worked perfectly and didn't cause the postgis error like in 5.6.1, Thank you!!!<br></font></font></font><br><div class="gmail_quote">On Wed, Mar 24, 2010 at 10:15 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;">With mapserver 5.6.3, could you try to open the mapstring.c file and add the<br>
following include at the line 40:<br>
#include <errno.h><br>
<br>
Fixed by FrankW in <a href="http://trac.osgeo.org/mapserver/changeset/9998" target="_blank">http://trac.osgeo.org/mapserver/changeset/9998</a><br>
<font color="#888888"><br>
Alan<br>
</font><div><div></div><div class="h5"><br>
On March 24, 2010 11:04:23 am Julie Knoll wrote:<br>
> 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<br>
> (non-related to agg)<br>
><br>
> mapstring.c: In function ‘msConvertWideStringToUTF8’:<br>
> mapstring.c:1542: warning: dereferencing type-punned pointer will break<br>
> 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<br>
> 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.<br>
> 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<br>
> geom_cassidi_states where the_geom && setsrid(!BOX!,4269)) as foo where<br>
> false limit 0<br>
><br>
><br>
> so not sure what to do now ...<br>
><br>
><br>
> On Wed, Mar 24, 2010 at 9:52 AM, Alan Boudreault<br>
><br>
> <<a href="mailto:aboudreault@mapgears.com">aboudreault@mapgears.com</a>>wrote:<br>
> > 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<br>
> > sure MS<br>
> > has been tested with agg 2.5.<br>
> ><br>
> > Alan<br>
> ><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<br>
> > > ‘row_data’ in ‘class mapserv_row_ptr_cache<int>’<br>
> > > /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named<br>
> > > ‘row_data’ in ‘class mapserv_row_ptr_cache<int>’<br>
> > > mapagg.cpp: In member function ‘void<br>
> > > AGGMapserverRenderer::renderEllipse(double, double, double, double,<br>
> ><br>
> > double,<br>
> ><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*,<br>
> ><br>
> > imageObj*,<br>
> ><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>
> > Alan Boudreault<br>
> > Mapgears<br>
> > <a href="http://www.mapgears.com" target="_blank">http://www.mapgears.com</a><br>
><br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Alan Boudreault<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">http://www.mapgears.com</a><br>
</div></div></blockquote></div><br>