Hi, It may be easier if you install from the opensuse openstack repo:
# zypper addrepo http://download.opensuse.org/repositories/Cloud:/OpenStack:/Icehouse/openSUSE_13.1/ openstack-icehouse # zypper refresh # zypper install python-glanceclient Regards, Marcus. On 18 September 2014 14:07, <mo...@qmail.com.bd> wrote: > 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. > > controller:~ # pip install python-glanceclient > Downloading/unpacking python-glanceclient > Downloading python-glanceclient-0.14.0.tar.gz (118kB): 118kB downloaded > Running setup.py egg_info for package python-glanceclient > [pbr] Excluding argparse: Python 2.6 only dependency > [pbr] Processing SOURCES.txt > warning: LocalManifestMaker: standard file '-c' not found > > warning: no previously-included files found matching '.gitignore' > warning: no previously-included files found matching '.gitreview' > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > warning: no previously-included files found matching '.gitignore' > warning: no previously-included files found matching '.gitreview' > Requirement already satisfied (use --upgrade to upgrade): > pbr>=0.6,!=0.7,<1.0 in /usr/lib/python2.7/site-packages (from > python-glanceclient) > Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in > /usr/lib/python2.7/site-packages (from python-glanceclient) > Requirement already satisfied (use --upgrade to upgrade): > PrettyTable>=0.7,<0.8 in /usr/lib/python2.7/site-packages (from > python-glanceclient) > Requirement already satisfied (use --upgrade to upgrade): > python-keystoneclient>=0.9.0 in /usr/lib/python2.7/site-packages (from > python-glanceclient) > Downloading/unpacking pyOpenSSL>=0.11 (from python-glanceclient) > Downloading pyOpenSSL-0.14.tar.gz (128kB): 128kB downloaded > Running setup.py egg_info for package pyOpenSSL > > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > no previously-included directories found matching 'doc/_build' > Requirement already satisfied (use --upgrade to upgrade): requests>=1.1 in > /usr/lib/python2.7/site-packages (from python-glanceclient) > Downloading/unpacking warlock>=1.0.1,<2 (from python-glanceclient) > Downloading warlock-1.1.0.tar.gz > Running setup.py egg_info for package warlock > > Requirement already satisfied (use --upgrade to upgrade): six>=1.7.0 in > /usr/lib/python2.7/site-packages (from python-glanceclient) > 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) > Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in > /usr/lib/python2.7/site-packages (from Babel>=1.3->python-glanceclient) > 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) > 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) > 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) > Downloading/unpacking cryptography>=0.2.1 (from > pyOpenSSL>=0.11->python-glanceclient) > Downloading cryptography-0.5.4.tar.gz (320kB): 320kB downloaded > Running setup.py egg_info for package cryptography > Package libffi was not found in the pkg-config search path. > Perhaps you should add the directory containing `libffi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libffi' found > Package libffi was not found in the pkg-config search path. > Perhaps you should add the directory containing `libffi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libffi' found > Package libffi was not found in the pkg-config search path. > Perhaps you should add the directory containing `libffi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libffi' found > Package libffi was not found in the pkg-config search path. > Perhaps you should add the directory containing `libffi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libffi' found > Package libffi was not found in the pkg-config search path. > Perhaps you should add the directory containing `libffi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libffi' found > c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory > #include <ffi.h> > ^ > compilation terminated. > Traceback (most recent call last): > File "<string>", line 16, in <module> > File "/tmp/pip_build_root/cryptography/setup.py", line 174, in > <module> > "test": PyTest, > File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup > _setup_distribution = dist = klass(attrs) > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, > in __init__ > self.fetch_build_eggs(attrs.pop('setup_requires')) > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, > in fetch_build_eggs > parse_requirements(requires), installer=self.fetch_build_egg > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in > resolve > dist = best[req.key] = env.best_match(req, self, installer) > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in > best_match > return self.obtain(req, installer) # try and download/install > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in > obtain > return installer(requirement) > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 339, > in fetch_build_egg > return cmd.easy_install(req) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 630, in easy_install > return self.install_item(spec, dist.location, tmpdir, deps) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 660, in install_item > dists = self.install_eggs(spec, download, tmpdir) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 856, in install_eggs > return self.build_and_install(setup_script, setup_base) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1137, in build_and_install > self.run_setup(setup_script, setup_base, args) > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1125, in run_setup > raise DistutilsError("Setup script exited with %s" % (v.args[0],)) > distutils.errors.DistutilsError: Setup script exited with error: command > 'gcc' failed with exit status 1 > Complete output from command python setup.py egg_info: > Package libffi was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libffi.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'libffi' found > > Package libffi was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libffi.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'libffi' found > > Package libffi was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libffi.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'libffi' found > > Package libffi was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libffi.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'libffi' found > > Package libffi was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libffi.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'libffi' found > > c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory > > #include <ffi.h> > > ^ > > compilation terminated. > > Traceback (most recent call last): > > File "<string>", line 16, in <module> > > File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module> > > "test": PyTest, > > File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup > > _setup_distribution = dist = klass(attrs) > > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in > __init__ > > self.fetch_build_eggs(attrs.pop('setup_requires')) > > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in > fetch_build_eggs > > parse_requirements(requires), installer=self.fetch_build_egg > > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in > resolve > > dist = best[req.key] = env.best_match(req, self, installer) > > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in > best_match > > return self.obtain(req, installer) # try and download/install > > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in > obtain > > return installer(requirement) > > File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 339, in > fetch_build_egg > > return cmd.easy_install(req) > > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 630, in easy_install > > return self.install_item(spec, dist.location, tmpdir, deps) > > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 660, in install_item > > dists = self.install_eggs(spec, download, tmpdir) > > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 856, in install_eggs > > return self.build_and_install(setup_script, setup_base) > > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1137, in build_and_install > > self.run_setup(setup_script, setup_base, args) > > File > "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line > 1125, in run_setup > > raise DistutilsError("Setup script exited with %s" % (v.args[0],)) > > distutils.errors.DistutilsError: Setup script exited with error: command > 'gcc' failed with exit status 1 > > ---------------------------------------- > Cleaning up... > Command python setup.py egg_info failed with error code 1 in > /tmp/pip_build_root/cryptography > Storing complete log in /root/.pip/pip.log > > Please help me. How can i solve this problem. > > Thanks All > > > > _______________________________________________ > OpenStack-operators mailing list > OpenStack-operators@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > -- Marcus Furlong _______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators