[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-dev
Subject:    Re: [mapserver-dev] Compile Error in mapserver-6.0.1 in mapogr.cpp
From:       Matthew Pettis <matthew.pettis () gmail ! com>
Date:       2011-11-28 19:49:14
Message-ID: CAH5CWrQ=ofBN2XyvE1Pn7dmK73NyovTchK08--3cn1ysaUHbsQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Done.  Thank you, I'll try to update my gdal/ogr libs.

Thanks,
Matt

On Mon, Nov 28, 2011 at 1:33 PM, thomas bonfort <thomas.bonfort@gmail.com>wrote:

> please open a ticket for this. It's happening because of an old
> version of gdal/ogr.
>
> --
> thomas
>
> On Mon, Nov 28, 2011 at 20:17, Matthew Pettis <matthew.pettis@gmail.com>
> wrote:
> > Hi,
> > This was cross-posted at mapserver-users, with no
> > response:
> http://osgeo-org.1803224.n2.nabble.com/Compile-Error-in-mapserver-6-0-1-in-mapogr-cpp-td7023084.html
> > Perhaps this is the right list...
> > ......................
> > Hi,
> > Trying to compile under Ubuntu 8.04 LTS.  configure script passed, but
> get
> > error at bottome during make/compile.  Is there a patch for this, or a
> > higher version?
> >
> > Thanks,
> > Matt
> >
> >
> > g++ -c -O2 -fPIC -Wall  -DNDEBUG    -DHAVE_VSNPRINTF -DNEED_STRLCPY
> > -DNEED_STRLCAT -DNEED_STRRSTR     -DUSE_FASTCGI         -DUSE_LIBXML2
> >  -DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION
> >  -DUSE_OGR   -DUSE_PROJ    -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
> > -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
> > -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV
> -DUSE_GIF
> > -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID
> > -I/usr/include/freetype2     -I/usr//include -Irenderers/agg/include
> > -I/usr//include   -I/usr/include/gdal -I/usr/include/postgresql
> >  -I/usr/include -I/usr/include/fastcgi  -I/usr/include/libxml2
> mapogr.cpp
> > -o mapogr.o
> > mapogr.cpp:3215:46: error: macro "MS_INIT_COLOR" requires 5 arguments,
> but
> > only 4 given
> > mapogr.cpp:3221:50: error: macro "MS_INIT_COLOR" requires 5 arguments,
> but
> > only 4 given
> > mapogr.cpp: In function 'int msOGRUpdateStyle(OGRStyleMgr*, mapObj*,
> > layerObj*, classObj*)':
> > mapogr.cpp:3053: error: 'struct labelObj' has no member named
> > 'backgroundcolor'
> > mapogr.cpp:3053: error: 'struct labelObj' has no member named
> > 'backgroundcolor'
> > mapogr.cpp:3053: error: 'struct labelObj' has no member named
> > 'backgroundcolor'
> > mapogr.cpp:3053: error: 'struct labelObj' has no member named
> > 'backgroundcolor'
> > mapogr.cpp:3053: error: 'struct labelObj' has no member named
> > 'backgroundcolor'
> > mapogr.cpp:3215: error: 'MS_INIT_COLOR' was not declared in this scope
> > make: *** [mapogr.o] Error 1
> >
> >
> >
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >
> >
>



-- 
Do not seek to follow in the footsteps of the wise men of old. Seek what
they sought.

- Matsuo Munefusa (”Basho”)

[Attachment #5 (text/html)]

Done.  Thank you, I&#39;ll try to update my gdal/ogr \
libs.<div><br></div><div>Thanks,<br>Matt<br><br><div class="gmail_quote">On Mon, Nov \
28, 2011 at 1:33 PM, thomas bonfort <span dir="ltr">&lt;<a \
href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">please open a ticket for this. It&#39;s happening \
because of an old<br> version of gdal/ogr.<br>
<br>
--<br>
thomas<br>
<div><div class="h5"><br>
On Mon, Nov 28, 2011 at 20:17, Matthew Pettis &lt;<a \
href="mailto:matthew.pettis@gmail.com">matthew.pettis@gmail.com</a>&gt; wrote:<br> \
&gt; Hi,<br> &gt; This was cross-posted at mapserver-users, with no<br>
&gt; response: <a href="http://osgeo-org.1803224.n2.nabble.com/Compile-Error-in-mapserver-6-0-1-in-mapogr-cpp-td7023084.html" \
target="_blank">http://osgeo-org.1803224.n2.nabble.com/Compile-Error-in-mapserver-6-0-1-in-mapogr-cpp-td7023084.html</a><br>


&gt; Perhaps this is the right list...<br>
&gt; ......................<br>
&gt; Hi,<br>
&gt; Trying to compile under Ubuntu 8.04 LTS.  configure script passed, but get<br>
&gt; error at bottome during make/compile.  Is there a patch for this, or a<br>
&gt; higher version?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Matt<br>
&gt;<br>
&gt;<br>
&gt; g++ -c -O2 -fPIC -Wall  -DNDEBUG    -DHAVE_VSNPRINTF -DNEED_STRLCPY<br>
&gt; -DNEED_STRLCAT -DNEED_STRRSTR     -DUSE_FASTCGI         -DUSE_LIBXML2<br>
&gt;  -DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION<br>
&gt;  -DUSE_OGR   -DUSE_PROJ    -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG<br>
&gt; -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR<br>
&gt; -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF<br>
&gt; -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID<br>
&gt; -I/usr/include/freetype2     -I/usr//include -Irenderers/agg/include<br>
&gt; -I/usr//include   -I/usr/include/gdal -I/usr/include/postgresql<br>
&gt;  -I/usr/include -I/usr/include/fastcgi  -I/usr/include/libxml2   mapogr.cpp<br>
&gt; -o mapogr.o<br>
&gt; mapogr.cpp:3215:46: error: macro &quot;MS_INIT_COLOR&quot; requires 5 arguments, \
but<br> &gt; only 4 given<br>
&gt; mapogr.cpp:3221:50: error: macro &quot;MS_INIT_COLOR&quot; requires 5 arguments, \
but<br> &gt; only 4 given<br>
&gt; mapogr.cpp: In function &#39;int msOGRUpdateStyle(OGRStyleMgr*, mapObj*,<br>
&gt; layerObj*, classObj*)&#39;:<br>
&gt; mapogr.cpp:3053: error: &#39;struct labelObj&#39; has no member named<br>
&gt; &#39;backgroundcolor&#39;<br>
&gt; mapogr.cpp:3053: error: &#39;struct labelObj&#39; has no member named<br>
&gt; &#39;backgroundcolor&#39;<br>
&gt; mapogr.cpp:3053: error: &#39;struct labelObj&#39; has no member named<br>
&gt; &#39;backgroundcolor&#39;<br>
&gt; mapogr.cpp:3053: error: &#39;struct labelObj&#39; has no member named<br>
&gt; &#39;backgroundcolor&#39;<br>
&gt; mapogr.cpp:3053: error: &#39;struct labelObj&#39; has no member named<br>
&gt; &#39;backgroundcolor&#39;<br>
&gt; mapogr.cpp:3215: error: &#39;MS_INIT_COLOR&#39; was not declared in this \
scope<br> &gt; make: *** [mapogr.o] Error 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mapserver-dev mailing list<br>
&gt; <a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
 &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" \
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br> \
&gt;<br> &gt;<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Do not seek to follow in \
the footsteps of the wise men of old. Seek what they sought.<br><br>- Matsuo Munefusa \
(”Basho”)<br> </div>



_______________________________________________
mapserver-dev mailing list
mapserver-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic