[mapserver-users] RE Mapserver 7 make error
Even Rouault
even.rouault at spatialys.com
Tue May 5 06:20:40 PDT 2015
Le mardi 05 mai 2015 15:13:34, Steve.Toutant at inspq.qc.ca a écrit :
> Any hint on what can I do about that Cairo error when compiling mapserv?
> Thank you
Steve,
you need to upgrade to a more recent version of cairo. Perhaps 1.10 or 1.12.
I think Thomas mentionned to me that it might be possible to use older cairo
by using older names for the CAIRO_OPERATOR_xxxx values. I think we discussed
that in a github ticket (not sure), but can't find it anymore.
Even
>
>
>
>
> Steve Toutant/INSPQ/SSSS
> 2015-05-01 15:11
>
> A
> mapserver-users at lists.osgeo.org
> cc
>
> Objet
> Mapserver 7 make error
>
>
>
>
>
>
>
> I'm compiling MS7 on Centos 6.5. I get an error running make
>
> make
>
> Scanning dependencies of target mapserver
>
> [ 0%] Building C object CMakeFiles/mapserver.dir/fontcache.c.o
>
> [ 1%] Building C object CMakeFiles/mapserver.dir/cgiutil.c.o
>
> [ 2%] Building C object CMakeFiles/mapserver.dir/mapgeos.c.o
>
> [ 2%] Building C object CMakeFiles/mapserver.dir/maporaclespatial.c.o
>
> [ 3%] Building C object CMakeFiles/mapserver.dir/mapsearch.c.o
>
> [ 4%] Building C object CMakeFiles/mapserver.dir/mapwms.c.o
>
> [ 4%] Building C object CMakeFiles/mapserver.dir/classobject.c.o
>
> [ 5%] Building C object CMakeFiles/mapserver.dir/mapgml.c.o
>
> [ 6%] Building C object CMakeFiles/mapserver.dir/mapoutput.c.o
>
> [ 6%] Building C object CMakeFiles/mapserver.dir/mapwmslayer.c.o
>
> [ 7%] Building C object CMakeFiles/mapserver.dir/layerobject.c.o
>
> [ 8%] Building C object CMakeFiles/mapserver.dir/mapgraticule.c.o
>
> [ 8%] Building C object CMakeFiles/mapserver.dir/mapows.c.o
>
> [ 9%] Building C object CMakeFiles/mapserver.dir/mapservutil.c.o
>
> [ 10%] Building C object CMakeFiles/mapserver.dir/mapxbase.c.o
>
> [ 10%] Building C object CMakeFiles/mapserver.dir/maphash.c.o
>
> [ 11%] Building C object CMakeFiles/mapserver.dir/mapowscommon.c.o
>
> [ 11%] Building C object CMakeFiles/mapserver.dir/mapshape.c.o
>
> [ 12%] Building C object CMakeFiles/mapserver.dir/mapxml.c.o
>
> [ 13%] Building C object CMakeFiles/mapserver.dir/mapbits.c.o
>
> [ 13%] Building C object CMakeFiles/mapserver.dir/maphttp.c.o
>
> [ 14%] Building C object CMakeFiles/mapserver.dir/mapparser.c.o
>
> [ 15%] Building C object CMakeFiles/mapserver.dir/mapstring.c.o
>
> [ 15%] Building C object CMakeFiles/mapserver.dir/mapxmp.c.o
>
> [ 16%] Building C object CMakeFiles/mapserver.dir/mapcairo.c.o
>
> /opt/geomatique/src/mapserver/mapcairo.c: In function âms2cairo_compopâ:
>
> /opt/geomatique/src/mapserver/mapcairo.c:809: erreur:
> âCAIRO_OPERATOR_MULTIPLYâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:809: erreur: (Each undeclared
> identifier is reported only once
>
> /opt/geomatique/src/mapserver/mapcairo.c:809: erreur: for each function it
> appears in.)
>
> /opt/geomatique/src/mapserver/mapcairo.c:811: erreur:
> âCAIRO_OPERATOR_SCREENâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:813: erreur:
> âCAIRO_OPERATOR_OVERLAYâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:815: erreur:
> âCAIRO_OPERATOR_DARKENâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:817: erreur:
> âCAIRO_OPERATOR_LIGHTENâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:819: erreur:
> âCAIRO_OPERATOR_COLOR_DODGEâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:821: erreur:
> âCAIRO_OPERATOR_COLOR_BURNâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:823: erreur:
> âCAIRO_OPERATOR_HARD_LIGHTâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:825: erreur:
> âCAIRO_OPERATOR_SOFT_LIGHTâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:827: erreur:
> âCAIRO_OPERATOR_DIFFERENCEâ undeclared (first use in this function)
>
> /opt/geomatique/src/mapserver/mapcairo.c:829: erreur:
> âCAIRO_OPERATOR_EXCLUSIONâ undeclared (first use in this function)
>
> make[2]: *** [CMakeFiles/mapserver.dir/mapcairo.c.o] Erreur 1
>
> make[1]: *** [CMakeFiles/mapserver.dir/all] Erreur 2
>
> make: *** [all] Erreur 2
>
>
> I do have cairo and cairo-devel installed (1.8.8-3.1.el6).
> How can I fix this?
> Thanks you
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the MapServer-users
mailing list