[rrd-users] Building on RedHat with non standard libary locations
Philip Peake
philip at vogon.net
Sun Dec 12 17:18:37 CET 2010
Well, I fixed it.
The problem seems to be that the cairo pkgconfig files for pangocairo
and cairo are missing some dependencies.
I manually added:
-lpixman-1
to the Libs line of cairo.pc, and:
-lpangoft2-1.0
to pangocairo.pc
rrdtool now configures and compiles.
Philip
---------------------------------------------------------------------
On 12/10/2010 12:20 PM, philip at vogon.net wrote:
> I am having some problems building rrd.
>
> A bit of background - this is a serve on which I do not have root access,
> so things are not in standard locations.
>
> I have all of the dependencies built, everything went ok apart from pango,
> which needed a bit of hand-holding to get its examples stuff built (
> adding the cairo libs manually in the Makefile).
>
> Now I can actually start on building rrd itself.
>
> However, when I run configure, I get this:
>
> 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=-lm -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> LDFLAGS= -L/opt/ldapmgr/lib -L/opt/ldapmgr/lib
> CPPFLAGS= -I/opt/ldapmgr/include/glib-2.0
> -I/opt/ldapmgr/lib/glib-2.0/include -DPNG_NO_MMX_CODE
> -I/opt/ldapmgr/include/pango-1.0 -I/opt/ldapmgr/include/cairo
> -I/opt/ldapmgr/include/glib-2.0 -I/opt/ldapmgr/lib/glib-2.0/include
> -I/opt/ldapmgr/include/freetype2 -I/opt/ldapmgr/include
> -I/opt/ldapmgr/include/libpng12 -I/opt/ldapmgr/include/pixman-1
>
> ----------------------------------------------------------------------------
>
> libpagocairo is actually present in /opt/ldapmgr/lib:
>
> -bash-3.2$ ls -l /opt/ldapmgr/lib/libpangocairo*
> -rwxr-xr-x 1 ldapmgr ldap 1220 Dec 10 14:00
> /opt/ldapmgr/lib/libpangocairo-1.0.la
> lrwxrwxrwx 1 ldapmgr ldap 29 Dec 10 14:00
> /opt/ldapmgr/lib/libpangocairo-1.0.so -> libpangocairo-1.0.so.0.2101.0
> lrwxrwxrwx 1 ldapmgr ldap 29 Dec 10 14:00
> /opt/ldapmgr/lib/libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.2101.0
> -rwxr-xr-x 1 ldapmgr ldap 60689 Dec 10 14:00
> /opt/ldapmgr/lib/libpangocairo-1.0.so.0.2101.0
>
> Somehow, the configure script is not finding it.
> I looked through the configure --help options, but didn't see anything
> there which looked useful.
>
> Hopefully this is just me missing something simple ...
>
> RRD source version is 1.4.4
>
> Philip
>
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
More information about the rrd-users
mailing list