[rrd-users] VDEF rrdtools never returns

Dag Erlandsson Dag.Erlandsson at nohau.se
Tue Jun 26 15:38:35 CEST 2007


Have used rrdtool for over a year now showing my heating system
temperatures. Added a counter to also be able to log my power
consumption. Everything works good until I tried to define a total
consumtion printout using GPRINT.
I have pinpointed down my problem downto the following command to
rrdtool:

rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE
VDEF:powerA=countA,TOTAL

This command never returns. If I remove the VDEF part, it works. I have
tried to use an other rrd file, same result.

I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have
tried with the motion package in debian and also compiled the sources
from the trunk in the SVN archive, same result.

Have I done something wrong in this command?

Best regards
Dag Erlandsson

P.S.
Just for information I have one proble when building it for debian using
dpkg-buildpackage -tc -B -rfakeroot
Then it complains that the
`/usr/src/rrdtool/program/debian/tmp/usr/doc': No such file or directory
dosn't exists.
There is a new rrdtool executable generated but no .deb package. 
D.S.


make[4]: Entering directory
`/usr/src/rrdtool/program/bindings/perl-shared'
make[4]: Leaving directory
`/usr/src/rrdtool/program/bindings/perl-shared'
make[4]: Entering directory `/usr/src/rrdtool/program/bindings'
make[4]: Nothing to be done for `install-exec-am'.
test -f perl-piped/Makefile && cd perl-piped && /usr/bin/make install ||
true
make[5]: Entering directory
`/usr/src/rrdtool/program/bindings/perl-piped'
Installing /usr/src/rrdtool/program/debian/tmp/usr/share/perl5/RRDp.pm
Installing
/usr/src/rrdtool/program/debian/tmp/usr/share/perl5/leaktest.pl
Installing
/usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDp.3pm
make[5]: Leaving directory
`/usr/src/rrdtool/program/bindings/perl-piped'
test -f perl-shared/Makefile && cd perl-shared && /usr/bin/make install
|| true
make[5]: Entering directory
`/usr/src/rrdtool/program/bindings/perl-shared'
Installing
/usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.so
Installing
/usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.bs
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/ntmake.pl
Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/RRDs.pm
Installing
/usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDs.3pm
make[5]: Leaving directory
`/usr/src/rrdtool/program/bindings/perl-shared'
test -f ruby/Makefile && cd ruby && /usr/bin/make
EPREFIX=/usr/src/rrdtool/program/debian/tmp/usr sitedir=/usr/lib/ruby
install || true
test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs
/usr/bin/python setup.py install --skip-build
--prefix=/usr/src/rrdtool/program/debian/tmp/usr
--exec-prefix=/usr/src/rrdtool/program/debian/tmp/usr || true
make[4]: Leaving directory `/usr/src/rrdtool/program/bindings'
make[3]: Leaving directory `/usr/src/rrdtool/program/bindings'
make[2]: Leaving directory `/usr/src/rrdtool/program/bindings'
make[2]: Entering directory `/usr/src/rrdtool/program'
make[3]: Entering directory `/usr/src/rrdtool/program'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/rrdtool/program'
make[2]: Leaving directory `/usr/src/rrdtool/program'
make[1]: Leaving directory `/usr/src/rrdtool/program'
mkdir -p /usr/src/rrdtool/program/debian/tmp/usr/share/doc
mv /usr/src/rrdtool/program/debian/tmp/usr/doc
/usr/src/rrdtool/program/debian/tmp/usr/share/doc/rrdtool
mv: cannot stat `/usr/src/rrdtool/program/debian/tmp/usr/doc': No such
file or directory
make: *** [install] Error 1



More information about the rrd-users mailing list