[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'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"><<a \
href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>></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'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 <<a \
href="mailto:matthew.pettis@gmail.com">matthew.pettis@gmail.com</a>> wrote:<br> \
> Hi,<br> > This was cross-posted at mapserver-users, with no<br>
> 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>
> Perhaps this is the right list...<br>
> ......................<br>
> Hi,<br>
> Trying to compile under Ubuntu 8.04 LTS. configure script passed, but get<br>
> error at bottome during make/compile. Is there a patch for this, or a<br>
> higher version?<br>
><br>
> Thanks,<br>
> Matt<br>
><br>
><br>
> g++ -c -O2 -fPIC -Wall -DNDEBUG -DHAVE_VSNPRINTF -DNEED_STRLCPY<br>
> -DNEED_STRLCAT -DNEED_STRRSTR -DUSE_FASTCGI -DUSE_LIBXML2<br>
> -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION<br>
> -DUSE_OGR -DUSE_PROJ -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG<br>
> -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR<br>
> -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF<br>
> -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE -DDISABLE_CVSID<br>
> -I/usr/include/freetype2 -I/usr//include -Irenderers/agg/include<br>
> -I/usr//include -I/usr/include/gdal -I/usr/include/postgresql<br>
> -I/usr/include -I/usr/include/fastcgi -I/usr/include/libxml2 mapogr.cpp<br>
> -o mapogr.o<br>
> mapogr.cpp:3215:46: error: macro "MS_INIT_COLOR" requires 5 arguments, \
but<br> > only 4 given<br>
> mapogr.cpp:3221:50: error: macro "MS_INIT_COLOR" requires 5 arguments, \
but<br> > only 4 given<br>
> mapogr.cpp: In function 'int msOGRUpdateStyle(OGRStyleMgr*, mapObj*,<br>
> layerObj*, classObj*)':<br>
> mapogr.cpp:3053: error: 'struct labelObj' has no member named<br>
> 'backgroundcolor'<br>
> mapogr.cpp:3053: error: 'struct labelObj' has no member named<br>
> 'backgroundcolor'<br>
> mapogr.cpp:3053: error: 'struct labelObj' has no member named<br>
> 'backgroundcolor'<br>
> mapogr.cpp:3053: error: 'struct labelObj' has no member named<br>
> 'backgroundcolor'<br>
> mapogr.cpp:3053: error: 'struct labelObj' has no member named<br>
> 'backgroundcolor'<br>
> mapogr.cpp:3215: error: 'MS_INIT_COLOR' was not declared in this \
scope<br> > make: *** [mapogr.o] Error 1<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-dev mailing list<br>
> <a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" \
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br> \
><br> ><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