py-rrdTool - install fails

Christian Heimes lists at cheimes.de
Fri Aug 14 22:39:56 CEST 2009


guthrie schrieb:
> I want to do some rrd in a python cgi script, but am having trouble
> getting an easy install module.
> 
> py-rrdTool looks good, but is distributed in c source, and is missing
> a header file in the distribution. Thus the install fails when it
> tries to reference rrd.h which is not there.
> 
> Are there better rrd modules to use, or a compiled version of this, or
> other suggestions?
> --------------------------------------------------------------------------------------
> building 'rrdtool._rrdtool' extension
> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /
> Ox /MD /W3 /GS- /DNDEBUG -I/usr/local\include "-IE:\PLang\Active Python
> \include" "-IE:\PLang\Active Python\PC" /Tcsrc/_rrdtoolmodule.c /
> Fobuild\temp.win32-2.6\Release\src/_rrdtoolmodule.obj
> _rrdtoolmodule.c
> src/_rrdtoolmodule.c(34) : fatal error C1083: Cannot open include
> file: 'rrd.h': No such file or directory
> error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
> \cl.exe"' failed with exit status 2
> 
> C:\Documents and Settings\guthrie\Desktop\py-rrdtool-0.2.1>

rrd.h is part of the rrdtools. You need to install rrdtools plus all its 
dependencies. Have a lot of fun ;)

Christian




More information about the Python-list mailing list