py-rrdtool-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[py-rrdtool-users] py-rrdtool on Debian


From: Dan
Subject: [py-rrdtool-users] py-rrdtool on Debian
Date: Thu, 21 Sep 2006 14:39:02 +0200

(sorry for my English, but I'm French...)

Hello,

I'm trying to install the py-rrdtool on a Debian Sarge distribution but I have errors during the process. I put the command "python setup.py build (or install)" and this text appears :


running build
running build_py
running build_ext
building 'rrdtool._rrdtool' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict- prototypes -fPIC -I/usr/local/include -I/usr/include/python2.3 -c src/ _rrdtoolmodule.c -o build/temp.linux-i686-2.3/src/_rrdtoolmodule.o
src/_rrdtoolmodule.c:34:17: rrd.h: No such file or directory
In file included from src/rrd_extra.h:37,
                 from src/_rrdtoolmodule.c:35:
src/rrd_format.h:28:17: rrd.h: No such file or directory
In file included from src/rrd_extra.h:37,
                 from src/_rrdtoolmodule.c:35:
src/rrd_format.h:59: error: syntax error before "rrd_value_t"
src/rrd_format.h:59: warning: no semicolon at end of struct or union
src/rrd_format.h:60: warning: type defaults to `int' in declaration of `unival' src/rrd_format.h:60: warning: data definition has no type or storage class
src/rrd_format.h:145: error: syntax error before "unival"
src/rrd_format.h:145: warning: no semicolon at end of struct or union
src/rrd_format.h:147: warning: type defaults to `int' in declaration of `stat_head_t' src/rrd_format.h:147: warning: data definition has no type or storage class
src/rrd_format.h:180: error: syntax error before "unival"
src/rrd_format.h:180: warning: no semicolon at end of struct or union
src/rrd_format.h:181: warning: type defaults to `int' in declaration of `ds_def_t' src/rrd_format.h:181: warning: data definition has no type or storage class
src/rrd_format.h:204: error: syntax error before "unival"
src/rrd_format.h:204: warning: no semicolon at end of struct or union
src/rrd_format.h:206: warning: type defaults to `int' in declaration of `rra_def_t' src/rrd_format.h:206: warning: data definition has no type or storage class
src/rrd_format.h:242: error: syntax error before "unival"
src/rrd_format.h:242: warning: no semicolon at end of struct or union
src/rrd_format.h:243: warning: type defaults to `int' in declaration of `pdp_prep_t' src/rrd_format.h:243: warning: data definition has no type or storage class
src/rrd_format.h:268: error: syntax error before "unival"
src/rrd_format.h:268: warning: no semicolon at end of struct or union
src/rrd_format.h:271: warning: type defaults to `int' in declaration of `cdp_prep_t' src/rrd_format.h:271: warning: data definition has no type or storage class
src/rrd_format.h:288: error: syntax error before "stat_head_t"
src/rrd_format.h:288: warning: no semicolon at end of struct or union
src/rrd_format.h:289: warning: type defaults to `int' in declaration of `ds_def' src/rrd_format.h:289: warning: data definition has no type or storage class
src/rrd_format.h:290: error: syntax error before '*' token
src/rrd_format.h:290: warning: type defaults to `int' in declaration of `rra_def' src/rrd_format.h:290: warning: data definition has no type or storage class
src/rrd_format.h:292: error: syntax error before '*' token
src/rrd_format.h:292: warning: type defaults to `int' in declaration of `pdp_prep' src/rrd_format.h:292: warning: data definition has no type or storage class
src/rrd_format.h:293: error: syntax error before '*' token
src/rrd_format.h:293: warning: type defaults to `int' in declaration of `cdp_prep' src/rrd_format.h:293: warning: data definition has no type or storage class
src/rrd_format.h:295: error: syntax error before '*' token
src/rrd_format.h:295: warning: type defaults to `int' in declaration of `rrd_value' src/rrd_format.h:295: warning: data definition has no type or storage class
src/rrd_format.h:296: error: syntax error before '}' token
src/rrd_format.h:296: warning: type defaults to `int' in declaration of `rrd_t' src/rrd_format.h:296: warning: data definition has no type or storage class
In file included from src/_rrdtoolmodule.c:35:
src/rrd_extra.h:48: error: syntax error before '*' token
src/rrd_extra.h:48: warning: function declaration isn't a prototype
src/rrd_extra.h:49: error: syntax error before '*' token
src/rrd_extra.h:49: warning: function declaration isn't a prototype
src/rrd_extra.h:51: error: syntax error before "rrd_t"
src/rrd_extra.h:51: warning: function declaration isn't a prototype
src/_rrdtoolmodule.c: In function `PyRRD_create':
src/_rrdtoolmodule.c:92: warning: implicit declaration of function `rrd_create' src/_rrdtoolmodule.c:93: warning: implicit declaration of function `rrd_get_error' src/_rrdtoolmodule.c:93: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast src/_rrdtoolmodule.c:94: warning: implicit declaration of function `rrd_clear_error'
src/_rrdtoolmodule.c: In function `PyRRD_update':
src/_rrdtoolmodule.c:120: warning: implicit declaration of function `rrd_update' src/_rrdtoolmodule.c:121: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function `PyRRD_fetch':
src/_rrdtoolmodule.c:142: error: `rrd_value_t' undeclared (first use in this function) src/_rrdtoolmodule.c:142: error: (Each undeclared identifier is reported only once
src/_rrdtoolmodule.c:142: error: for each function it appears in.)
src/_rrdtoolmodule.c:142: error: `data' undeclared (first use in this function) src/_rrdtoolmodule.c:142: error: `datai' undeclared (first use in this function) src/_rrdtoolmodule.c:142: warning: left-hand operand of comma expression has no effect src/_rrdtoolmodule.c:151: warning: implicit declaration of function `rrd_fetch' src/_rrdtoolmodule.c:153: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c:161: error: syntax error before "dv"
src/_rrdtoolmodule.c:187: error: `dv' undeclared (first use in this function)
src/_rrdtoolmodule.c: In function `PyRRD_graph':
src/_rrdtoolmodule.c:239: warning: implicit declaration of function `rrd_graph' src/_rrdtoolmodule.c:240: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function `PyRRD_tune':
src/_rrdtoolmodule.c:288: warning: implicit declaration of function `rrd_tune' src/_rrdtoolmodule.c:289: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function `PyRRD_last':
src/_rrdtoolmodule.c:314: warning: implicit declaration of function `rrd_last' src/_rrdtoolmodule.c:315: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function `PyRRD_resize':
src/_rrdtoolmodule.c:339: warning: implicit declaration of function `rrd_resize' src/_rrdtoolmodule.c:340: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function `PyRRD_info':
src/_rrdtoolmodule.c:359: error: syntax error before "rrd"
src/_rrdtoolmodule.c:367: error: `rrd' undeclared (first use in this function) src/_rrdtoolmodule.c:368: warning: passing arg 2 of `PyErr_SetString' makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1


I don't know what to do to resovle this problem, if you can help me it will be very kind :-)
See you
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]