[mapserver-users] Mapserver 7 make error

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Fri May 1 12:11:34 PDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150501/91dca11d/attachment.htm>


More information about the MapServer-users mailing list