[GRASS-dev] Re: [GRASS GIS] #419: cairo compilation error

GRASS GIS trac at osgeo.org
Mon Jan 12 04:27:02 EST 2009


#419: cairo compilation error
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  7.0.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:                           
  Platform:  Linux    |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------
Comment (by mlennert):

 Replying to [comment:4 glynn]:
 > Replying to [comment:3 mlennert]:
 >
 > > > > What's the minimum version of cairo needed here?
 >
 > > Looks like 1.5.8 would be enough:
 >
 > I'll update the test accordingly.
 >
 > > I have the same problem with
 > >
 > > cairo_xlib_surface_get_xrender_format
 >
 > That should be conditionalised upon CAIRO_HAS_XLIB_XRENDER_SURFACE. The
 function should be defined in cairo-xlib-xrender.h.
 >
 > Can you provide more details?

 svn update and recompile now gives only one error:


 {{{
 mlennert at geog-pc40:~/SRC/GRASS/grass_trunk/general/g.cairocomp$ export
 LANG=C; make
 gcc -L/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/lib -Wl,
 --export-dynamic -Wl,-rpath-
 link,/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/lib   -o
 /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/bin/g.cairocomp OBJ.i486-pc-linux-gnu/main.o  -lgrass_gis
 -lgrass_datetime -lz     -lXrender -lcairo -lX11      -lm  -lz
 OBJ.i486-pc-linux-gnu/main.o: In function `init_xlib':
 /home/mlennert/SRC/GRASS/grass_trunk/general/g.cairocomp/main.c:118:
 undefined reference to `cairo_xlib_surface_get_xrender_format'
 collect2: ld returned 1 exit status
 make: *** [/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/bin/g.cairocomp] Error 1
 }}}

 Using cairo 1.4.14 on Debian stable.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/419#comment:5>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list