[rrd-users] RRDTool 1.3.x for CentOS 4.x (repost due to lost msg)
Bernard Li
bernard at vanhpc.org
Fri Sep 26 00:05:03 CEST 2008
Hi Richard:
On Thu, Sep 25, 2008 at 2:18 PM, Richard D Alloway <ralloway at winbeam.com> wrote:
> I'm still having some serious issues, even after installing the RPMs and
> modifying the spec file for version,etc.
>
> Here is the portion that fails:
>
> Find 3rd-Party Libraries
> 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 pkg-config... pkg-config
> checking for cairo_font_options_create in -lcairo... no
> configure: WARNING:
> ----------------------------------------------------------------------------
> * I could not find a working copy of cairo-png. 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 libcairo and its header files. If
> you have not installed cairo-png, you can get it either from its original
> home on
>
> http://cairographics.org/releases/
>
> You can find also find an archive copy on
>
> http://oss.oetiker.ch/rrdtool/pub/libs
>
> The last tested version of cairo-png is 1.4.6.
>
> LIBS=-lm -lcairo -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11
> -lXext
> LDFLAGS= -L/usr/lib64 -L/usr/lib64/frysk -L/usr/lib -L/usr/X11R6/lib
> CPPFLAGS= -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12
> -I/usr/include/freetype2
>
> ----------------------------------------------------------------------------
>
> checking for cairo_svg_surface_create in -lcairo... yes
> checking cairo-svg.h usability... no
> checking cairo-svg.h presence... no
> checking for cairo-svg.h... no
> checking for pkg-config... (cached) pkg-config
> checking for cairo_svg_surface_create in -lcairo... no
> configure: WARNING:
> ----------------------------------------------------------------------------
> * I could not find a working copy of cairo-svg. 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 libcairo and its header files. If
> you have not installed cairo-svg, you can get it either from its original
> home on
>
> http://cairographics.org/releases/
>
> You can find also find an archive copy on
>
> http://oss.oetiker.ch/rrdtool/pub/libs
>
> The last tested version of cairo-svg is 1.4.6.
>
> LIBS=-lm -lcairo -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11
> -lXext
> LDFLAGS= -L/usr/lib64 -L/usr/lib64/frysk -L/usr/lib -L/usr/X11R6/lib
> CPPFLAGS= -I/usr/include/cairo -I/usr/X11R6/include
> -I/usr/include/freetype2 -I/usr/include/libpng12
>
> ----------------------------------------------------------------------------
>
> checking for cairo_pdf_surface_create in -lcairo... yes
> checking cairo-pdf.h usability... no
> checking cairo-pdf.h presence... no
> checking for cairo-pdf.h... no
> checking for pkg-config... (cached) pkg-config
> checking for cairo_pdf_surface_create in -lcairo... no
> configure: WARNING:
> ----------------------------------------------------------------------------
> * I could not find a working copy of cairo-pdf. 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 libcairo and its header files. If
> you have not installed cairo-pdf, you can get it either from its original
> home on
>
> http://cairographics.org/releases/
>
> You can find also find an archive copy on
>
> http://oss.oetiker.ch/rrdtool/pub/libs
>
> The last tested version of cairo-pdf is 1.4.6.
>
> LIBS=-lm -lcairo -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11
> -lXext
> LDFLAGS= -L/usr/lib64 -L/usr/lib64/frysk -L/usr/lib -L/usr/X11R6/lib
> CPPFLAGS= -I/usr/include/cairo -I/usr/X11R6/include
> -I/usr/include/freetype2 -I/usr/include/libpng12
>
> ----------------------------------------------------------------------------
>
> checking for cairo_ps_surface_create in -lcairo... yes
> checking cairo-ps.h usability... no
> checking cairo-ps.h presence... no
> checking for cairo-ps.h... no
> checking for pkg-config... (cached) pkg-config
> checking for cairo_ps_surface_create in -lcairo... no
> configure: WARNING:
> ----------------------------------------------------------------------------
> * I could not find a working copy of cairo-ps. 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 libcairo and its header files. If
> you have not installed cairo-ps, you can get it either from its original
> home on
>
> http://cairographics.org/releases/
>
> You can find also find an archive copy on
>
> http://oss.oetiker.ch/rrdtool/pub/libs
>
> The last tested version of cairo-ps is 1.4.6.
>
> LIBS=-lm -lcairo -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11
> -lXext
> LDFLAGS= -L/usr/lib64 -L/usr/lib64/frysk -L/usr/lib -L/usr/X11R6/lib
> CPPFLAGS= -I/usr/include/cairo -I/usr/X11R6/include
> -I/usr/include/freetype2 -I/usr/include/libpng12
>
> ----------------------------------------------------------------------------
>
> checking for pango_cairo_context_set_font_options in -lpango-1.0... no
> checking for pkg-config... (cached) pkg-config
> checking for pango_cairo_context_set_font_options in -lpango-1.0... no
> 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 libpango-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=-lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz -lfontconfig -lpng12 -lXrender
> -lX11 -lXext
> LDFLAGS= -L/usr/lib64 -L/usr/lib64/frysk -L/usr/lib -L/usr/X11R6/lib
> -L/usr/lib64/frysk
> CPPFLAGS= -I/usr/include/pango-1.0 -I/usr/include/cairo
> -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng12
>
> ----------------------------------------------------------------------------
>
> 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.
> error: Bad exit status from /var/tmp/rpm-tmp.75574 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.75574 (%build)
Okay, looks like you need RPMs for x86_64 arch. The RPMs I built are
for i386 so they wouldn't help you there.
What you need to do is download the pango/cairo/glib2 SRPMs from
Fedora 8/9, rebuild those (and install the -devel packages). The
deja-lgc-fonts is fine since it is noarch. After that you can go
ahead and rebuild the rrdtool SRPM.
You probably want to uninstall the i386 RPMs prior to doing this, so
your system doesn't get confused.
If you still run into problems please let me know and I'll try to help
-- although I don't have easy access to a x86_64 build box.
Cheers,
Bernard
More information about the rrd-users
mailing list