Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.97 KB | None | 0 0
  1. [root@rhel6-madhu nova]# pip install cryptography
  2. Downloading/unpacking cryptography
  3. Downloading cryptography-0.5.2.tar.gz (319kB): 319kB downloaded
  4. Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography
  5. Package libffi was not found in the pkg-config search path.
  6. Perhaps you should add the directory containing `libffi.pc'
  7. to the PKG_CONFIG_PATH environment variable
  8. No package 'libffi' found
  9. Package libffi was not found in the pkg-config search path.
  10. Perhaps you should add the directory containing `libffi.pc'
  11. to the PKG_CONFIG_PATH environment variable
  12. No package 'libffi' found
  13. Package libffi was not found in the pkg-config search path.
  14. Perhaps you should add the directory containing `libffi.pc'
  15. to the PKG_CONFIG_PATH environment variable
  16. No package 'libffi' found
  17. Package libffi was not found in the pkg-config search path.
  18. Perhaps you should add the directory containing `libffi.pc'
  19. to the PKG_CONFIG_PATH environment variable
  20. No package 'libffi' found
  21. Package libffi was not found in the pkg-config search path.
  22. Perhaps you should add the directory containing `libffi.pc'
  23. to the PKG_CONFIG_PATH environment variable
  24. No package 'libffi' found
  25. c/_cffi_backend.c:13:17: error: ffi.h: No such file or directory
  26. In file included from c/_cffi_backend.c:43:
  27. c/malloc_closure.h:33: error: expected specifier-qualifier-list before ‘ffi_closure’
  28. c/malloc_closure.h: In function ‘more_core’:
  29. c/malloc_closure.h:69: warning: division by zero
  30. c/malloc_closure.h:96: error: ‘union mmaped_block’ has no member named ‘next’
  31. c/malloc_closure.h: At top level:
  32. c/malloc_closure.h:105: error: expected ‘)’ before ‘*’ token
  33. c/malloc_closure.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  34. c/_cffi_backend.c:209: error: expected specifier-qualifier-list before ‘ffi_cif’
  35. c/_cffi_backend.c: In function ‘cdataowninggc_dealloc’:
  36. c/_cffi_backend.c:1521: error: ‘ffi_closure’ undeclared (first use in this function)
  37. c/_cffi_backend.c:1521: error: (Each undeclared identifier is reported only once
  38. c/_cffi_backend.c:1521: error: for each function it appears in.)
  39. c/_cffi_backend.c:1521: error: ‘closure’ undeclared (first use in this function)
  40. c/_cffi_backend.c:1521: error: expected expression before ‘)’ token
  41. c/_cffi_backend.c:1524: warning: implicit declaration of function ‘cffi_closure_free’
  42. c/_cffi_backend.c: In function ‘cdataowninggc_traverse’:
  43. c/_cffi_backend.c:1536: error: ‘ffi_closure’ undeclared (first use in this function)
  44. c/_cffi_backend.c:1536: error: ‘closure’ undeclared (first use in this function)
  45. c/_cffi_backend.c:1536: error: expected expression before ‘)’ token
  46. c/_cffi_backend.c: In function ‘cdataowninggc_clear’:
  47. c/_cffi_backend.c:1552: error: ‘ffi_closure’ undeclared (first use in this function)
  48. c/_cffi_backend.c:1552: error: ‘closure’ undeclared (first use in this function)
  49. c/_cffi_backend.c:1552: error: expected expression before ‘)’ token
  50. c/_cffi_backend.c: In function ‘cdataowning_repr’:
  51. c/_cffi_backend.c:1676: error: ‘ffi_closure’ undeclared (first use in this function)
  52. c/_cffi_backend.c:1676: error: expected expression before ‘)’ token
  53. c/_cffi_backend.c: At top level:
  54. c/_cffi_backend.c:2222: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’
  55. c/_cffi_backend.c: In function ‘cdata_call’:
  56. c/_cffi_backend.c:2356: error: ‘ffi_abi’ undeclared (first use in this function)
  57. c/_cffi_backend.c:2356: error: expected ‘;’ before ‘fabi’
  58. c/_cffi_backend.c:2398: error: ‘fabi’ undeclared (first use in this function)
  59. c/_cffi_backend.c:2402: error: too many arguments to function ‘fb_prepare_cif’
  60. c/_cffi_backend.c:2407: error: ‘cif_description_t’ has no member named ‘exchange_size’
  61. c/_cffi_backend.c:2417: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  62. c/_cffi_backend.c:2447: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  63. c/_cffi_backend.c:2452: warning: implicit declaration of function ‘ffi_call’
  64. c/_cffi_backend.c:2452: error: ‘cif_description_t’ has no member named ‘cif’
  65. c/_cffi_backend.c: In function ‘b_new_primitive_type’:
  66. c/_cffi_backend.c:3356: error: ‘ffi_type’ undeclared (first use in this function)
  67. c/_cffi_backend.c:3356: error: ‘ffitype’ undeclared (first use in this function)
  68. c/_cffi_backend.c:3377: error: ‘ffi_type_sint8’ undeclared (first use in this function)
  69. c/_cffi_backend.c:3378: error: ‘ffi_type_sint16’ undeclared (first use in this function)
  70. c/_cffi_backend.c:3379: error: ‘ffi_type_sint32’ undeclared (first use in this function)
  71. c/_cffi_backend.c:3380: error: ‘ffi_type_sint64’ undeclared (first use in this function)
  72. c/_cffi_backend.c:3386: error: ‘ffi_type_float’ undeclared (first use in this function)
  73. c/_cffi_backend.c:3388: error: ‘ffi_type_double’ undeclared (first use in this function)
  74. c/_cffi_backend.c:3390: error: ‘ffi_type_longdouble’ undeclared (first use in this function)
  75. c/_cffi_backend.c:3396: error: ‘ffi_type_uint8’ undeclared (first use in this function)
  76. c/_cffi_backend.c:3397: error: ‘ffi_type_uint16’ undeclared (first use in this function)
  77. c/_cffi_backend.c:3398: error: ‘ffi_type_uint32’ undeclared (first use in this function)
  78. c/_cffi_backend.c:3399: error: ‘ffi_type_uint64’ undeclared (first use in this function)
  79. c/_cffi_backend.c: At top level:
  80. c/_cffi_backend.c:3953: error: expected specifier-qualifier-list before ‘ffi_type’
  81. c/_cffi_backend.c:3972: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  82. c/_cffi_backend.c: In function ‘fb_build’:
  83. c/_cffi_backend.c:4103: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
  84. c/_cffi_backend.c:4103: error: ‘ffi_type’ undeclared (first use in this function)
  85. c/_cffi_backend.c:4103: error: expected expression before ‘)’ token
  86. c/_cffi_backend.c:4104: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
  87. c/_cffi_backend.c:4107: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
  88. c/_cffi_backend.c:4107: warning: implicit declaration of function ‘fb_fill_type’
  89. c/_cffi_backend.c:4115: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  90. c/_cffi_backend.c:4118: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
  91. c/_cffi_backend.c:4119: error: ‘ffi_arg’ undeclared (first use in this function)
  92. c/_cffi_backend.c:4129: error: ‘atype’ undeclared (first use in this function)
  93. c/_cffi_backend.c:4142: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
  94. c/_cffi_backend.c:4143: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
  95. c/_cffi_backend.c:4146: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  96. c/_cffi_backend.c:4153: error: ‘cif_description_t’ has no member named ‘exchange_size’
  97. c/_cffi_backend.c: In function ‘fb_build_name’:
  98. c/_cffi_backend.c:4175: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
  99. c/_cffi_backend.c:4184: error: ‘struct funcbuilder_s’ has no member named ‘fct’
  100. c/_cffi_backend.c:4186: error: ‘struct funcbuilder_s’ has no member named ‘fct’
  101. c/_cffi_backend.c: In function ‘fb_prepare_ctype’:
  102. c/_cffi_backend.c:4227: error: ‘struct funcbuilder_s’ has no member named ‘fct’
  103. c/_cffi_backend.c:4237: error: ‘struct funcbuilder_s’ has no member named ‘fct’
  104. c/_cffi_backend.c: At top level:
  105. c/_cffi_backend.c:4257: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’
  106. c/_cffi_backend.c: In function ‘fb_prepare_cif’:
  107. c/_cffi_backend.c:4284: warning: implicit declaration of function ‘ffi_prep_cif’
  108. c/_cffi_backend.c:4284: error: ‘cif_description_t’ has no member named ‘cif’
  109. c/_cffi_backend.c:4284: error: ‘fabi’ undeclared (first use in this function)
  110. c/_cffi_backend.c:4284: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
  111. c/_cffi_backend.c:4285: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
  112. c/_cffi_backend.c:4285: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
  113. c/_cffi_backend.c:4285: error: ‘FFI_OK’ undeclared (first use in this function)
  114. c/_cffi_backend.c: In function ‘b_new_function_type’:
  115. c/_cffi_backend.c:4302: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
  116. c/_cffi_backend.c:4340: error: too many arguments to function ‘fb_prepare_cif’
  117. c/_cffi_backend.c:4348: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
  118. c/_cffi_backend.c:4358: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
  119. c/_cffi_backend.c: In function ‘convert_from_object_fficallback’:
  120. c/_cffi_backend.c:4382: error: ‘ffi_arg’ undeclared (first use in this function)
  121. c/_cffi_backend.c: At top level:
  122. c/_cffi_backend.c:4454: error: expected ‘)’ before ‘*’ token
  123. c/_cffi_backend.c: In function ‘b_callback’:
  124. c/_cffi_backend.c:4525: error: ‘ffi_closure’ undeclared (first use in this function)
  125. c/_cffi_backend.c:4525: error: ‘closure’ undeclared (first use in this function)
  126. c/_cffi_backend.c:4546: error: ‘ffi_arg’ undeclared (first use in this function)
  127. c/_cffi_backend.c:4564: warning: implicit declaration of function ‘cffi_closure_alloc’
  128. c/_cffi_backend.c:4581: warning: implicit declaration of function ‘ffi_prep_closure’
  129. c/_cffi_backend.c:4581: error: ‘cif_description_t’ has no member named ‘cif’
  130. c/_cffi_backend.c:4582: error: ‘invoke_callback’ undeclared (first use in this function)
  131. c/_cffi_backend.c:4582: error: ‘FFI_OK’ undeclared (first use in this function)
  132. c/_cffi_backend.c: In function ‘init_cffi_backend’:
  133. c/_cffi_backend.c:5511: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
  134. compiling '_configtest.c':
  135. __thread int some_threadlocal_variable_42;
  136. Traceback (most recent call last):
  137. File "<string>", line 17, in <module>
  138. File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module>
  139. "test": PyTest,
  140. File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
  141. _setup_distribution = dist = klass(attrs)
  142. File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__
  143. self.fetch_build_eggs(attrs.pop('setup_requires'))
  144. File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
  145. parse_requirements(requires), installer=self.fetch_build_egg
  146. File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 538, in resolve
  147. dist = best[req.key] = env.best_match(req, self, installer)
  148. File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 780, in best_match
  149. return self.obtain(req, installer) # try and download/install
  150. File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 792, in obtain
  151. return installer(requirement)
  152. File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 293, in fetch_build_egg
  153. return cmd.easy_install(req)
  154. File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 472, in easy_install
  155. return self.install_item(spec, dist.location, tmpdir, deps)
  156. File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 502, in install_item
  157. dists = self.install_eggs(spec, download, tmpdir)
  158. File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 681, in install_eggs
  159. return self.build_and_install(setup_script, setup_base)
  160. File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 958, in build_and_install
  161. self.run_setup(setup_script, setup_base, args)
  162. File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 949, in run_setup
  163. raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  164. distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
  165. Complete output from command python setup.py egg_info:
  166. Package libffi was not found in the pkg-config search path.
  167.  
  168. Perhaps you should add the directory containing `libffi.pc'
  169.  
  170. to the PKG_CONFIG_PATH environment variable
  171.  
  172. No package 'libffi' found
  173.  
  174. Package libffi was not found in the pkg-config search path.
  175.  
  176. Perhaps you should add the directory containing `libffi.pc'
  177.  
  178. to the PKG_CONFIG_PATH environment variable
  179.  
  180. No package 'libffi' found
  181.  
  182. Package libffi was not found in the pkg-config search path.
  183.  
  184. Perhaps you should add the directory containing `libffi.pc'
  185.  
  186. to the PKG_CONFIG_PATH environment variable
  187.  
  188. No package 'libffi' found
  189.  
  190. Package libffi was not found in the pkg-config search path.
  191.  
  192. Perhaps you should add the directory containing `libffi.pc'
  193.  
  194. to the PKG_CONFIG_PATH environment variable
  195.  
  196. No package 'libffi' found
  197.  
  198. Package libffi was not found in the pkg-config search path.
  199.  
  200. Perhaps you should add the directory containing `libffi.pc'
  201.  
  202. to the PKG_CONFIG_PATH environment variable
  203.  
  204. No package 'libffi' found
  205.  
  206. c/_cffi_backend.c:13:17: error: ffi.h: No such file or directory
  207.  
  208. In file included from c/_cffi_backend.c:43:
  209.  
  210. c/malloc_closure.h:33: error: expected specifier-qualifier-list before ‘ffi_closure’
  211.  
  212. c/malloc_closure.h: In function ‘more_core’:
  213.  
  214. c/malloc_closure.h:69: warning: division by zero
  215.  
  216. c/malloc_closure.h:96: error: ‘union mmaped_block’ has no member named ‘next’
  217.  
  218. c/malloc_closure.h: At top level:
  219.  
  220. c/malloc_closure.h:105: error: expected ‘)’ before ‘*’ token
  221.  
  222. c/malloc_closure.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  223.  
  224. c/_cffi_backend.c:209: error: expected specifier-qualifier-list before ‘ffi_cif’
  225.  
  226. c/_cffi_backend.c: In function ‘cdataowninggc_dealloc’:
  227.  
  228. c/_cffi_backend.c:1521: error: ‘ffi_closure’ undeclared (first use in this function)
  229.  
  230. c/_cffi_backend.c:1521: error: (Each undeclared identifier is reported only once
  231.  
  232. c/_cffi_backend.c:1521: error: for each function it appears in.)
  233.  
  234. c/_cffi_backend.c:1521: error: ‘closure’ undeclared (first use in this function)
  235.  
  236. c/_cffi_backend.c:1521: error: expected expression before ‘)’ token
  237.  
  238. c/_cffi_backend.c:1524: warning: implicit declaration of function ‘cffi_closure_free’
  239.  
  240. c/_cffi_backend.c: In function ‘cdataowninggc_traverse’:
  241.  
  242. c/_cffi_backend.c:1536: error: ‘ffi_closure’ undeclared (first use in this function)
  243.  
  244. c/_cffi_backend.c:1536: error: ‘closure’ undeclared (first use in this function)
  245.  
  246. c/_cffi_backend.c:1536: error: expected expression before ‘)’ token
  247.  
  248. c/_cffi_backend.c: In function ‘cdataowninggc_clear’:
  249.  
  250. c/_cffi_backend.c:1552: error: ‘ffi_closure’ undeclared (first use in this function)
  251.  
  252. c/_cffi_backend.c:1552: error: ‘closure’ undeclared (first use in this function)
  253.  
  254. c/_cffi_backend.c:1552: error: expected expression before ‘)’ token
  255.  
  256. c/_cffi_backend.c: In function ‘cdataowning_repr’:
  257.  
  258. c/_cffi_backend.c:1676: error: ‘ffi_closure’ undeclared (first use in this function)
  259.  
  260. c/_cffi_backend.c:1676: error: expected expression before ‘)’ token
  261.  
  262. c/_cffi_backend.c: At top level:
  263.  
  264. c/_cffi_backend.c:2222: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’
  265.  
  266. c/_cffi_backend.c: In function ‘cdata_call’:
  267.  
  268. c/_cffi_backend.c:2356: error: ‘ffi_abi’ undeclared (first use in this function)
  269.  
  270. c/_cffi_backend.c:2356: error: expected ‘;’ before ‘fabi’
  271.  
  272. c/_cffi_backend.c:2398: error: ‘fabi’ undeclared (first use in this function)
  273.  
  274. c/_cffi_backend.c:2402: error: too many arguments to function ‘fb_prepare_cif’
  275.  
  276. c/_cffi_backend.c:2407: error: ‘cif_description_t’ has no member named ‘exchange_size’
  277.  
  278. c/_cffi_backend.c:2417: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  279.  
  280. c/_cffi_backend.c:2447: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
  281.  
  282. c/_cffi_backend.c:2452: warning: implicit declaration of function ‘ffi_call’
  283.  
  284. c/_cffi_backend.c:2452: error: ‘cif_description_t’ has no member named ‘cif’
  285.  
  286. c/_cffi_backend.c: In function ‘b_new_primitive_type’:
  287.  
  288. c/_cffi_backend.c:3356: error: ‘ffi_type’ undeclared (first use in this function)
  289.  
  290. c/_cffi_backend.c:3356: error: ‘ffitype’ undeclared (first use in this function)
  291.  
  292. c/_cffi_backend.c:3377: error: ‘ffi_type_sint8’ undeclared (first use in this function)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement