It’s probably picking up Python 2.4, which I’m betting is too old.  There’s a 
configure flag for the Python plugin; try pointing it to the 2.6 install.

On Oct 7, 2014, at 7:31 PM, Tasslehoff Burrfoot <[email protected]> wrote:

> Hi, I'm using collectd 4.9.1 on rhel 5.9 and it works very well, now I'm 
> trying to switch to the latest version using sources.
> 
> During configure (./configure --prefix=/usr --sysconfdir=/etc 
> --localstatedir=/var --enable-all-plugins) everything works, I got some 
> warnings regarding some plugin library missing but I don't need these plugins.
> 
> I have problems during make, it always returns this error:
>   CC     python_la-python.lo
> python.c: In function 'cpy_write_callback':
> python.c:443: error: 'Values' has no member named 'ob_refcnt'
> make[3]: *** [python_la-python.lo] Error 1
> make[3]: Leaving directory `/usr/src/collectd-5.4.1/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/collectd-5.4.1/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/collectd-5.4.1/src'
> make: *** [all-recursive] Error 1
> 
> Looking to rpm installed I have python 2.4.3 and python 2.6.8, please note 
> that during configure python module and library seems ok.
> 
> Someone has suggestions?
> 
> Thanks for any information.
> 
> Tas
> _______________________________________________
> collectd mailing list
> [email protected]
> http://mailman.verplant.org/listinfo/collectd

--
Brian Lalor
[email protected]


_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to