Graphs missing legend and axis description

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
pgb205
Posts: 17
Joined: Mon Nov 10, 2008 10:55 pm

Graphs missing legend and axis description

Post by pgb205 »

I have interface graphs that are missing legend, graph description as well as axis labels. Basically the only thing you would see is the axis' themselves as well as data line. But no other information is displayed. What options do i need to change to fix this?

thanks

-----
BTW I did add the following font path under settings
/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
restarted httpd and mysqld under centos5.
Alternatively I've noticed that some people claim version 1.2.27 works ok but I'm not able to downgrade. When I try to compile it from source I get the following:



configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libart-2.0.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. 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 libart_lgpl_2 and its header files. If
you have not installed libart-2.0, you can get it either from its original home on

ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

You can find also find an archive copy on

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

The last tested version of libart-2.0 is 2.3.17.

LIBS=-lm
LDFLAGS=
CPPFLAGS= -I/usr/include/libart-2.0

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

checking for zlibVersion in -lz... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no zlib.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of zlib. 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 libz and its header files. If
you have not installed zlib, you can get it either from its original home on

http://www.gzip.org/zlib/

You can find also find an archive copy on

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

The last tested version of zlib is 1.2.3.

LIBS=-lm
LDFLAGS=
CPPFLAGS=

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

checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. 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 libfreetype and its header files. If
you have not installed freetype2, you can get it either from its original home on

http://prdownloads.sourceforge.net/freetype/

You can find also find an archive copy on

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

The last tested version of freetype2 is 2.1.10.

LIBS=-lpng -lm
LDFLAGS=
CPPFLAGS= -I/usr/include/freetype2

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

configure: error: Please fix the library issues listed above and try again.
Last edited by pgb205 on Tue Nov 11, 2008 1:43 pm, edited 1 time in total.
phoenix
Posts: 27
Joined: Thu Aug 19, 2004 3:18 pm

Post by phoenix »

Does this thread answer your question: http://forums.cacti.net/about29749.html ... ht=rrdtool
Regards


Bill
pgb205
Posts: 17
Joined: Mon Nov 10, 2008 10:55 pm

Post by pgb205 »

thanks, phoenix. that's what I found on these forums myself. How would i downgrade to .27 of rrdtool without having to reinstall entire application. yum tell me that cacti is dependent on rrdtool .28 and will be uninstalled

thanks

EDIT: managed to compile rrdtool .27 after following instructoins from
http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is a known bug from rrdtool
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests