<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi guy es, I am a new on open stack installation. When i install openstack glance client on OpesSUSE 13.1. I am facing some problem as like below.</p>
<p>controller:~ # pip install python-glanceclient<br />Downloading/unpacking python-glanceclient<br /> Downloading python-glanceclient-0.14.0.tar.gz (118kB): 118kB downloaded<br /> Running setup.py egg_info for package python-glanceclient<br /> [pbr] Excluding argparse: Python 2.6 only dependency<br /> [pbr] Processing SOURCES.txt<br /> warning: LocalManifestMaker: standard file '-c' not found<br /> <br /> warning: no previously-included files found matching '.gitignore'<br /> warning: no previously-included files found matching '.gitreview'<br /> warning: no previously-included files matching '*.pyc' found anywhere in distribution<br /> warning: no previously-included files found matching '.gitignore'<br /> warning: no previously-included files found matching '.gitreview'<br />Requirement already satisfied (use --upgrade to upgrade): pbr>=0.6,!=0.7,<1.0 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): PrettyTable>=0.7,<0.8 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.9.0 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Downloading/unpacking pyOpenSSL>=0.11 (from python-glanceclient)<br /> Downloading pyOpenSSL-0.14.tar.gz (128kB): 128kB downloaded<br /> Running setup.py egg_info for package pyOpenSSL<br /> <br /> warning: no previously-included files matching '*.pyc' found anywhere in distribution<br /> no previously-included directories found matching 'doc/_build'<br />Requirement already satisfied (use --upgrade to upgrade): requests>=1.1 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Downloading/unpacking warlock>=1.0.1,<2 (from python-glanceclient)<br /> Downloading warlock-1.1.0.tar.gz<br /> Running setup.py egg_info for package warlock<br /> <br />Requirement already satisfied (use --upgrade to upgrade): six>=1.7.0 in /usr/lib/python2.7/site-packages (from python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): pip>=1.0 in /usr/lib/python2.7/site-packages (from pbr>=0.6,!=0.7,<1.0->python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in /usr/lib/python2.7/site-packages (from Babel>=1.3->python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.9 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=0.9.0->python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): netaddr>=0.7.6 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=0.9.0->python-glanceclient)<br />Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.2.0 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=0.9.0->python-glanceclient)<br />Downloading/unpacking cryptography>=0.2.1 (from pyOpenSSL>=0.11->python-glanceclient)<br /> Downloading cryptography-0.5.4.tar.gz (320kB): 320kB downloaded<br /> Running setup.py egg_info for package cryptography<br /> Package libffi was not found in the pkg-config search path.<br /> Perhaps you should add the directory containing `libffi.pc'<br /> to the PKG_CONFIG_PATH environment variable<br /> No package 'libffi' found<br /> Package libffi was not found in the pkg-config search path.<br /> Perhaps you should add the directory containing `libffi.pc'<br /> to the PKG_CONFIG_PATH environment variable<br /> No package 'libffi' found<br /> Package libffi was not found in the pkg-config search path.<br /> Perhaps you should add the directory containing `libffi.pc'<br /> to the PKG_CONFIG_PATH environment variable<br /> No package 'libffi' found<br /> Package libffi was not found in the pkg-config search path.<br /> Perhaps you should add the directory containing `libffi.pc'<br /> to the PKG_CONFIG_PATH environment variable<br /> No package 'libffi' found<br /> Package libffi was not found in the pkg-config search path.<br /> Perhaps you should add the directory containing `libffi.pc'<br /> to the PKG_CONFIG_PATH environment variable<br /> No package 'libffi' found<br /> c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory<br /> #include <ffi.h><br /> ^<br /> compilation terminated.<br /> Traceback (most recent call last):<br /> File "<string>", line 16, in <module><br /> File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module><br /> "test": PyTest,<br /> File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup<br /> _setup_distribution = dist = klass(attrs)<br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__<br /> self.fetch_build_eggs(attrs.pop('setup_requires'))<br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs<br /> parse_requirements(requires), installer=self.fetch_build_egg<br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve<br /> dist = best[req.key] = env.best_match(req, self, installer)<br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match<br /> return self.obtain(req, installer) # try and download/install<br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain<br /> return installer(requirement)<br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg<br /> return cmd.easy_install(req)<br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 630, in easy_install<br /> return self.install_item(spec, dist.location, tmpdir, deps)<br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 660, in install_item<br /> dists = self.install_eggs(spec, download, tmpdir)<br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 856, in install_eggs<br /> return self.build_and_install(setup_script, setup_base)<br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1137, in build_and_install<br /> self.run_setup(setup_script, setup_base, args)<br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1125, in run_setup<br /> raise DistutilsError("Setup script exited with %s" % (v.args[0],))<br /> distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1<br /> Complete output from command python setup.py egg_info:<br /> Package libffi was not found in the pkg-config search path.<br /><br />Perhaps you should add the directory containing `libffi.pc'<br /><br />to the PKG_CONFIG_PATH environment variable<br /><br />No package 'libffi' found<br /><br />Package libffi was not found in the pkg-config search path.<br /><br />Perhaps you should add the directory containing `libffi.pc'<br /><br />to the PKG_CONFIG_PATH environment variable<br /><br />No package 'libffi' found<br /><br />Package libffi was not found in the pkg-config search path.<br /><br />Perhaps you should add the directory containing `libffi.pc'<br /><br />to the PKG_CONFIG_PATH environment variable<br /><br />No package 'libffi' found<br /><br />Package libffi was not found in the pkg-config search path.<br /><br />Perhaps you should add the directory containing `libffi.pc'<br /><br />to the PKG_CONFIG_PATH environment variable<br /><br />No package 'libffi' found<br /><br />Package libffi was not found in the pkg-config search path.<br /><br />Perhaps you should add the directory containing `libffi.pc'<br /><br />to the PKG_CONFIG_PATH environment variable<br /><br />No package 'libffi' found<br /><br />c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory<br /><br /> #include <ffi.h><br /><br /> ^<br /><br />compilation terminated.<br /><br />Traceback (most recent call last):<br /><br /> File "<string>", line 16, in <module><br /><br /> File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module><br /><br /> "test": PyTest,<br /><br /> File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup<br /><br /> _setup_distribution = dist = klass(attrs)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__<br /><br /> self.fetch_build_eggs(attrs.pop('setup_requires'))<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs<br /><br /> parse_requirements(requires), installer=self.fetch_build_egg<br /><br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve<br /><br /> dist = best[req.key] = env.best_match(req, self, installer)<br /><br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match<br /><br /> return self.obtain(req, installer) # try and download/install<br /><br /> File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain<br /><br /> return installer(requirement)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg<br /><br /> return cmd.easy_install(req)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 630, in easy_install<br /><br /> return self.install_item(spec, dist.location, tmpdir, deps)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 660, in install_item<br /><br /> dists = self.install_eggs(spec, download, tmpdir)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 856, in install_eggs<br /><br /> return self.build_and_install(setup_script, setup_base)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1137, in build_and_install<br /><br /> self.run_setup(setup_script, setup_base, args)<br /><br /> File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1125, in run_setup<br /><br /> raise DistutilsError("Setup script exited with %s" % (v.args[0],))<br /><br />distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1<br /><br />----------------------------------------<br />Cleaning up...<br />Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography<br />Storing complete log in /root/.pip/pip.log<br /><br /></p>
<p>Please help me. How can i solve this problem.</p>
<p>Thanks All</p>
<div> </div>
</body></html>