rrdtool broken

Richard B. Pyne rpyne at kinfolk.org
Fri Sep 30 16:19:24 CEST 2011


With some digging, experimenting and hints from the log entries from 
Dennis, I found that cairo must be built with Freetype support.

Thanks.

--Richard

On 9/30/2011 4:54 AM, Dennis Veatch wrote:
> On Thursday, September 29, 2011 10:14:15 AM Richard B. Pyne wrote:
>> configure: WARNING:
>> ----------------------------------------------------------------------------
>> * I could not find a working copy of pangocairo. Check config.log for hints
>> on why
>>     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 files. If
>>     you have not installed pangocairo, you can get it either from its
>> original home on
>>
>>        http://ftp.gnome.org/pub/GNOME/sources/pango/1.17
>>
>>     You can find also find an archive copy on
>>
>>        http://oss.oetiker.ch/rrdtool/pub/libs
>>
>>     The last tested version of pangocairo is 1.17.
>>
>>          LIBS=-lcairo -lcairo -lcairo -lm  -lwrap -lcairo -lpng12
>> -lglib-2.0
>>      LDFLAGS= -s
>>     CPPFLAGS= -I/usr/include/cairo -I/usr/include/libpng12
>> -I/usr/include/pixman-1 -I/usr/include/freetype2
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>>
>> ----------------------------------------------------------------------------
>>
>> checking for xmlParseFile in -lxml2... yes
>> checking libxml/parser.h usability... yes
>> checking libxml/parser.h presence... yes
>> checking for libxml/parser.h... yes
>> configure: error: Please fix the library issues listed above and try again.
>> Creating /var/log/lunar/compile/rrdtool-1.4.5.bz2
>> ! Problem detected during BUILD
>>
>>
>>
>> I have both pango and cairo installed
>> _______________________________________________
>> Lunar mailing list
>> Lunar at lunar-linux.org
>> http://foo-projects.org/mailman/listinfo/lunar
> rrdtool compiled fine here. greping through my compile log I see this;
>
> root at sidney /usr/src # lvu compile rrdtool|grep pango
> checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
> checking pango/pango.h usability... no
> checking pango/pango.h presence... no
> checking for pango/pango.h... no
> checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
> checking pango/pango.h usability... yes
> checking pango/pango.h presence... yes
> checking for pango/pango.h... yes
>               Libraries: -lxml2 -lcairo -lcairo -lcairo -lm  -ldbi -ldl -lwrap
> -lcairo -lpng12   -lglib-2.0   -lpangocairo-1.0 -lpango-1.0 -lcairo -
> lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
> root at sidney /usr/src # lvu compile rrdtool|grep cairo
> checking for cairo_font_options_create in -lcairo... yes
> checking cairo.h usability... no
> checking cairo.h presence... no
> checking for cairo.h... no
> checking for cairo_font_options_create in -lcairo... yes
> checking cairo.h usability... yes
> checking cairo.h presence... yes
> checking for cairo.h... yes
> checking for cairo_svg_surface_create in -lcairo... yes
> checking cairo-svg.h usability... yes
> checking cairo-svg.h presence... yes
> checking for cairo-svg.h... yes
> checking for cairo_pdf_surface_create in -lcairo... yes
> checking cairo-pdf.h usability... yes
> checking cairo-pdf.h presence... yes
> checking for cairo-pdf.h... yes
> checking for cairo_ps_surface_create in -lcairo... yes
> checking cairo-ps.h usability... yes
> checking cairo-ps.h presence... yes
> checking for cairo-ps.h... yes
> checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
> checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
>               Libraries: -lxml2 -lcairo -lcairo -lcairo -lm  -ldbi -ldl -lwrap
> -lcairo -lpng12   -lglib-2.0   -lpangocairo-1.0 -lpango-1.0 -lcairo -
> lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
>
>
> So I suspect your installs of those two are flawed in some way. If you have not
> done so, first try a lunar fix and then lin -rc those two and see what happens.
> Its most likely something to do with your pango install since;
>
> lvu from pangocairo gives ;
>
> pango:/usr/include/pango-1.0/pango/pangocairo.h
> pango:/usr/lib/libpangocairo-1.0.so
> pango:/usr/lib/libpangocairo-1.0.so.0
> pango:/usr/lib/libpangocairo-1.0.so.0.2800.4
> pango:/usr/lib/pkgconfig/pangocairo.pc
>
>
>
> Dennis Veatch
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar


More information about the Lunar mailing list