[GRASS-dev] [GRASS GIS] #1884: grass7 - cairodriver fails to detect right architecture - OSX 10.8

GRASS GIS trac at osgeo.org
Wed Feb 13 21:23:16 PST 2013


#1884: grass7 - cairodriver fails to detect right architecture - OSX 10.8
-----------------------+----------------------------------------------------
 Reporter:  epifanio   |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  major      |   Milestone:  7.0.0                    
Component:  Compiling  |     Version:  svn-trunk                
 Keywords:  cairo      |    Platform:  MacOSX                   
      Cpu:  OSX/Intel  |  
-----------------------+----------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1884 epifanio]:

 > seems that the GRASS Configure is not storing the fontconfig linking in
 platform.make so it doesn't get into the cairo driver compilation.

 configure sets CAIROLIB to whatever it gets from
 {{{
 pkg-config --libs cairo-ft cairo-fc cairo-pdf cairo-ps cairo-svg
 }}}
 plus anything added manually via the --with-cairo-libs and/or --with-
 cairo-ldflags switches.

 However: lib/cairodriver uses fontconfig directly, as well as via cairo.
 The above list of undefined symbols is exactly the set of fontconfig
 functions which lib/cairodriver/Text.c references directly.

 So we probably need to add "fontconfig" to the pkg-config command. Try
 r55040.

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



More information about the grass-dev mailing list