Python 2.7.5
on EL 7
1 |
#easy_install python-rrdtool |
failed:
1 2 3 4 5 6 7 8 9 |
In file included from rrdtool-1.4.7/bindings/python/../../src/rrd_config_bottom.h:14:0, from rrdtool-1.4.7/bindings/python/../../rrd_config.h:436, from rrdtool-1.4.7/bindings/python/rrdtoolmodule.c:41: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ /bin/ld: cannot find -lrrd collect2: error: ld returned 1 exit status error: Setup script exited with error: command 'gcc' failed with exit status 1 |
sdf
wk is to inst basic package.
1 |
# yum install rrdtool rrdtool-devel |
and then re-run easy_install
note:
Anyway you can directly issue #yum install rrdtool-python.