Skip to content

Instantly share code, notes, and snippets.

@jblaine
Created December 7, 2012 16:43
Show Gist options
  • Save jblaine/4234542 to your computer and use it in GitHub Desktop.
Save jblaine/4234542 to your computer and use it in GitHub Desktop.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/usr/rcf-tools/collectd-5.1.0\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/rcf-tools/collectd-5.1.0/lib/collectd\" -DPKGDATADIR=\"/usr/rcf-tools/collectd-5.1.0/share/collectd\" -I/usr/include/python2.4 -Wall -Werror -fno-strict-aliasing -Wno-strict-aliasing -g -O2 -MT python_la-python.lo -MD -MP -MF .deps/python_la-python.Tpo -c python.c -fPIC -DPIC -o .libs/python_la-python.o
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 `/tmp/collectd-5.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/collectd-5.1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/collectd-5.1.1/src'
make: *** [all-recursive] Error 1
collectd-5.1.1:rcf-linux-beta> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
collectd-5.1.1:rcf-linux-beta> echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin
collectd-5.1.1:rcf-linux-beta> which python
/usr/bin/python
collectd-5.1.1:rcf-linux-beta> python -V
Python 2.4.3
collectd-5.1.1:rcf-linux-beta>
@gregswift
Copy link

every figure this out? I just ran into the same problem with 5.2.0

@jblaine
Copy link
Author

jblaine commented Dec 13, 2012

Nope :(

I ended up just recompiling without Python.

@robertely
Copy link

I'm hitting this as well, and came to the same work around. Ever make any progress?

@jimmyattime
Copy link

I got this to work by installing python 2.6. For redhat 5, I installed these packages:

python26-2.6.8-2.el5
python26-devel-2.6.8-2.el5
python26-libs-2.6.8-2.el5
python26-devel-2.6.8-2.el5

I ran configure to point to newer version of python.

./configure --with-python=/usr/bin/python26

@robertely
Copy link

Fantastic, Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment