[mapserver-users] RE Mapserver 7 make error
Jeff McKenna
jmckenna at gatewaygeomatics.com
Tue May 5 06:42:47 PDT 2015
Hi Even,
Wow, thanks so much for that info, I will definitely remove cairo from
my GDAL/poppler build steps! :)
-jeff
On 2015-05-05 10:33 AM, Even Rouault wrote:
> Le mardi 05 mai 2015 15:26:16, Jeff McKenna a écrit :
>> Hi Steve,
>>
>> I do note that I use cairo-1.12.14 for both my MS4W and Ubuntu builds.
>> And I also note that compiling cairo into your MapServer will indeed
>> test your patience and sanity :)
>>
>> Finding the "elusive" and magical version of cairo that works perfectly
>> with GDAL and MapServer and libPoppler is quite fun.
>
> Jeff,
>
> GDAL doesn't depend on cairo directly. Poppler might depend on cairo, but I
> believe it is only an optional dependency (maybe for some utilities or unit
> tests). I've just checked that my system libpoppler doesn't actually depend on
> cairo. And pdftoppm doesn't either. So you could probably build poppler
> without cairo to simplify the dependency equations ;-)
>
> Even
>
>>
>> -jeff
>>
>>> Any hint on what can I do about that Cairo error when compiling mapserv?
>>> Thank you
>>>
>>>
>>>
>>>
>>> *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
>>
More information about the MapServer-users
mailing list