Installing py-rrdtool

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing py-rrdtool

Gerard Blais
I'm a newbie to rrd, but have a fair amount of Python background.

I'm running Python 2.6, under Windows XP.

I've downloaded py-rrdtool.0.2.1.tar: 

 07/13/2010  09:31 AM            18,809 py-rrdtool-0.2.1.tar.gz

I've de-compressed it to a temporary folder.  When I run setup, I see:


C:\temp\py-rrdtool-0.2.1>setup install
running install
running build
running build_py
running build_ext
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 -IC:\Python26\include -
IC:\Python26\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

which seems to say that there's a missing rrd.h file.

Can anyone help me out?

Thanks!

Gerry



_______________________________________________
py-rrdtool-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/py-rrdtool-users
Reply | Threaded
Open this post in threaded view
|

Re: Installing py-rrdtool

Javier Palacios-2
On Tue, Jul 13, 2010 at 6:04 PM, Gerard Blais <[hidden email]> wrote:

> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
> /MD /W3 /GS- /DNDEBUG -I/usr/local\include -IC:\Python26\include -
> IC:\Python26\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
> which seems to say that there's a missing rrd.h file.
> Can anyone help me out?

As it did not find rrd.h, looks like rrdtool source not found.
Download it if not done, and check the value of include_dirs in
setup.py

Javier Palacios

_______________________________________________
py-rrdtool-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/py-rrdtool-users