[collectd] Unable to compile collectd 4.10.0 on Rocks 5.3 (CentOS 5.4) 64-bit

Finn Andersen xiphias256 at gmail.com
Thu Jun 3 15:54:00 CEST 2010


Hi!

I tried to compile collectd from source, typing configure;make
This is the output I got (ran make twice to get rid of the stuff that
compiled fine):
----
.
.
.
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/collectd-4.10.0/src/liboconfig'
make[3]: Leaving directory `/root/collectd-4.10.0/src/liboconfig'
make[3]: Entering directory `/root/collectd-4.10.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-DPREFIX='"/opt/collectd"'
-DCONFIGFILE='"/opt/collectd/etc/collectd.conf"'
-DLOCALSTATEDIR='"/opt/collectd/var"'
-DPKGLOCALSTATEDIR='"/opt/collectd/var/lib/collectd"'
-DPIDFILE='"/opt/collectd/var/run/collectd.pid"'
-DPLUGINDIR='"/opt/collectd/lib/collectd"'
-DPKGDATADIR='"/opt/collectd/share/collectd"' -I/usr/include/python2.4
 -Wall -Werror -g -O2 -MT python_la-python.lo -MD -MP -MF
.deps/python_la-python.Tpo -c -o python_la-python.lo `test -f
'python.c' || echo './'`python.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/opt/collectd\"
-DCONFIGFILE=\"/opt/collectd/etc/collectd.conf\"
-DLOCALSTATEDIR=\"/opt/collectd/var\"
-DPKGLOCALSTATEDIR=\"/opt/collectd/var/lib/collectd\"
-DPIDFILE=\"/opt/collectd/var/run/collectd.pid\"
-DPLUGINDIR=\"/opt/collectd/lib/collectd\"
-DPKGDATADIR=\"/opt/collectd/share/collectd\" -I/usr/include/python2.4
-Wall -Werror -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
cc1: warnings being treated as errors
python.c: In function 'cpy_write_callback':
python.c:422: warning: dereferencing type-punned pointer will break
strict-aliasing rules
python.c:424: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[3]: *** [python_la-python.lo] Error 1
make[3]: Leaving directory `/root/collectd-4.10.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/collectd-4.10.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/collectd-4.10.0/src'
make: *** [all-recursive] Error 1
---

What is wrong here?

Regards,
Finn Andersen
Norway



More information about the collectd mailing list