[GRASS-dev] [GRASS GIS] #556: ftbfs: g.cairocomp

#556: ftbfs: g.cairocomp
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Keywords: g.cairocomp | Platform: Linux
      Cpu: x86-32 |
-------------------------+--------------------------------------------------
Hi,

when building grass 7 I get the following error in g.cairocomp:
{{{
main.c: In function 'init_xlib':
main.c:118: error: implicit declaration of function
'cairo_xlib_surface_get_xrender_format'
main.c:118: warning: assignment makes pointer from integer without a cast
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
}}}

I have libcairo2-dev version 1.2.4, the fn is not found in
/usr/include/cairo/*.h

This change says that >=1.5.8 is now needed:
http://trac.osgeo.org/grass/changeset/36349

Could a check be added to ./configure to test for
cairo_xlib_surface_get_xrender_format()?

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/556&gt;
GRASS GIS <http://grass.osgeo.org>

#556: ftbfs: g.cairocomp
------------------------+---------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: duplicate | Keywords: g.cairocomp
  Platform: Linux | Cpu: x86-32
------------------------+---------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * resolution: => duplicate

Comment:

oops, dupe of #419.

closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/556#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>