码迷,mamicode.com
首页 > 编程语言 > 详细

python-glanceclient - error "No package 'libffi' found

时间:2014-08-03 07:57:55      阅读:443      评论:0      收藏:0      [点我收藏+]

标签:openstack gcc glance

[root@node1 /]# yum install python-pip -y

pip install python-novaclient
pip install python-ceilometerclient
pip install python-cinderclient
pip install python-glanceclient   - has error when i install
pip install python-heatclient
pip install python-keystoneclient
pip install python-neutronclient
pip install python-swiftclient
pip install python-troveclient


when isntall
pip install python-glanceclient
http://lkubaski.wordpress.com/2012/05/19/compiling-glib-on-centos/


Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 
Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

download  libffi-devel-3.0.5-3.2.el6.x86_64.rpm
rpm -ivh libffi-devel-3.0.5-3.2.el6.x86_64.rpm
[root@node1 tmp]# rpm -qa|grep libffi
libffi-devel-3.0.5-3.2.el6.x86_64
libffi-3.0.5-3.2.el6.x86_64
[root@node1 tmp]#


after that another error show not find gcc directory...so try to install following pk:

#yum install python-setuptools gcc python-devel openssl-devel libxml2-devel  libxslt-devel

本文出自 “gray13” 博客,请务必保留此出处http://gray13.blog.51cto.com/1001206/1534253

python-glanceclient - error "No package 'libffi' found,布布扣,bubuko.com

python-glanceclient - error "No package 'libffi' found

标签:openstack gcc glance

原文地址:http://gray13.blog.51cto.com/1001206/1534253

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!