#### **pip安装python-rrdtool报错**
# pip install python-rrdtool
... ...
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-png, you can get it either from its original home on
http://cairographics.org/releases/
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
The last tested version of cairo-png is 1.10.2.
LIBS=-lm
LDFLAGS=
CPPFLAGS=
----------------------------------------------------------------------------
....
configure: error: Please fix the library issues listed above and try again.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-NVbeVs/python-rrdtool/setup.py", line 99, in <module>
include_dirs=[include_dir],
File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 53, in run
return _install.run(self)
File "/usr/lib64/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-build-NVbeVs/python-rrdtool/setup.py", line 68, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-build-NVbeVs/python-rrdtool/setup.py", line 62, in run
subprocess.check_call(executable, cwd=os.path.dirname(executable))
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/tmp/pip-build-NVbeVs/python-rrdtool/rrdtool-1.4.7/configure' returned non-zero exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NVbeVs/python-rrdtool/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-UaCK8V-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-NVbeVs/python-rrdtool/
#### **注意错误提示**
```Please fix the library issues listed above and try again.```
根据configure: WARNING提示的信息,将所有缺失的库安装好即可
如上面缺少了cairo-png相关库,安装好cairo-devel即可
```yum install cairo-devel```
文章最后更新时间:
2017年05月22日 06:37:37
garcinia cambogia best weight loss pill weight loss prescription drugs diet pill diet supplements that work
beth chapman weight loss - gout diet <a href=" rebel wilson weight loss ">weight loss foods</a> <a href="the keto diet">juicing for weight loss</a> keto meal plan - pegan 365 diet <a href=" candida diet ">slim fast diet plan</a> <a href="whole 30 diet">smoothies for weight loss</a>
gout diet - la weight loss <a href=" what is the keto diet ">jenny craig diet</a> <a href="fodmap diet">apple cider vinegar and weight loss</a> low carb diet - quick weight loss center <a href=" green tea weight loss ">ketogenic diet plan</a> <a href="keto diet">keto diet plan for beginners</a>
the dash diet - healthy snacks for weight loss <a href=" renal diet ">vinegar diet</a> <a href="diet plans">how to start the keto diet</a> ketosis diet - intermittent fasting for weight loss <a href=" weight loss green smoothie ">paleo diet food list</a> <a href="weight loss wonder soup">beyond diet</a>
paleo diet for beginners - medi weight loss clinic <a href=" weight loss plans ">weight loss drugs</a> <a href="ketogenic diet food list">weight loss green smoothie</a> ketogenic diet - fasting for weight loss <a href=" contrave diet pill ">weight loss calculator</a> <a href="plant based diet for beginners">paleo diet food list</a>
unexplained weight loss - weight loss soup <a href=" weight loss supplements ">dash diet recipes</a> <a href="keto diet plan for beginners">keto foods</a> weight loss foods - mediterranean diet plan <a href=" healthy snacks for weight loss ">la weight loss</a> <a href="hcg diet">military diet</a>
precious weight loss - keto diet plan for beginners <a href=" weight loss shakes ">whole 30 diet plan</a> <a href="low cholesterol diet">optivia weight loss</a> thrive weight loss - metformin weight loss <a href=" medifast weight loss ">7-day diet weight loss soup wonder soup</a> <a href="how to start the keto diet">healthy recipes for weight loss</a>
low calorie recipes for weight loss - weight loss percentage calculator <a href=" the super metabolism diet ">rebel wilson weight loss</a> <a href="low cholesterol diet">flexitarian diet</a> the mediterranean diet - ketone diet <a href=" renal diet ">weight loss meal plans</a> <a href="dash diet">weight loss diet</a>
cialis without prescription mayavanrosendaal.com cialis without prescription online buy cialis without prescription buy cialis without a doctor's prescription
Photography