Skip to content

Instantly share code, notes, and snippets.

@jdob
Created February 25, 2014 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdob/9212245 to your computer and use it in GitHub Desktop.
Save jdob/9212245 to your computer and use it in GitHub Desktop.
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:14:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/build/cryptography/setup.py", line 113, in <module>
"build": cffi_build,
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match
return self.obtain(req, installer) # try and download/install
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain
return installer(requirement)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
return cmd.easy_install(req)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, 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...
Removing temporary dir /home/jdob/tripleo/tripleo-incubator/openstack-tools/build...
Command python setup.py egg_info failed with error code 1 in /home/jdob/tripleo/tripleo-incubator/openstack-tools/build/cryptography
Exception information:
Traceback (most recent call last):
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pip/req.py", line 1229, in prepare_files
req_to_install.run_egg_info()
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pip/req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "/home/jdob/tripleo/tripleo-incubator/openstack-tools/lib/python2.7/site-packages/pip/util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /home/jdob/tripleo/tripleo-incubator/openstack-tools/build/cryptography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment