解决安装rrdtool遇到的一个问题

问题现象:

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on w                                                                                       hy
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libpangocairo-1.0 and its header file                                                                                       s. If
  you have not installed pangocairo, you can get it either from its original hom                                                                                       e on

     http://ftp.gnome.org/pub/GNOME/sources/pango/1.28

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.28.4.

       LIBS=-lcairo -lcairo -lcairo -lm  -lcairo -lpng12
   LDFLAGS=
  CPPFLAGS= -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1                                                                                        -I/usr/include/freetype2

----------------------------------------------------------------------------

 

解决: yum install pango-dev  

你可能感兴趣的:(rrdtool,pangocairo)