Guest User

Untitled

a guest
Sep 14th, 2017
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.55 KB | None | 0 0
  1. ve/bin/pip install xmlsec
  2. WARNING: the pyenv script is deprecated in favour of `python3.6 -m venv`
  3. Collecting xmlsec
  4. Using cached xmlsec-1.3.3.tar.gz
  5. Complete output from command python setup.py egg_info:
  6. In file included from src/lxml/lxml.etree.c:515:0:
  7. src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
  8. #include "libxml/xmlversion.h"
  9. ^~~~~~~~~~~~~~~~~~~~~
  10. compilation terminated.
  11. /tmp/easy_install-t7ru49km/lxml-3.8.0/temp/xmlXPathInituvv9nga9.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
  12. main (int argc, char **argv) {
  13. ^~~~
  14. Traceback (most recent call last):
  15. File "/usr/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile
  16. extra_postargs)
  17. File "/usr/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
  18. spawn(cmd, dry_run=self.dry_run)
  19. File "/usr/lib/python3.6/distutils/spawn.py", line 36, in spawn
  20. _spawn_posix(cmd, search_path, dry_run=dry_run)
  21. File "/usr/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
  22. % (cmd, exit_status))
  23. distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
  24.  
  25. During handling of the above exception, another exception occurred:
  26.  
  27. Traceback (most recent call last):
  28. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  29. dist.run_commands()
  30. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  31. self.run_command(cmd)
  32. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  33. cmd_obj.run()
  34. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 161, in run
  35. cmd = self.call_command('install_lib', warn_dir=0)
  36. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 147, in call_command
  37. self.run_command(cmdname)
  38. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  39. self.distribution.run_command(command)
  40. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  41. cmd_obj.run()
  42. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
  43. self.build()
  44. File "/usr/lib/python3.6/distutils/command/install_lib.py", line 107, in build
  45. self.run_command('build_ext')
  46. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  47. self.distribution.run_command(command)
  48. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  49. cmd_obj.run()
  50. File "/tmp/easy_install-t7ru49km/lxml-3.8.0/setupinfo.py", line 205, in run
  51. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
  52. self.build_extensions()
  53. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
  54. self._build_extensions_serial()
  55. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
  56. self.build_extension(ext)
  57. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
  58. depends=ext.depends)
  59. File "/usr/lib/python3.6/distutils/ccompiler.py", line 574, in compile
  60. self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  61. File "/usr/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
  62. raise CompileError(msg)
  63. distutils.errors.CompileError: command 'gcc' failed with exit status 1
  64.  
  65. During handling of the above exception, another exception occurred:
  66.  
  67. Traceback (most recent call last):
  68. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 157, in save_modules
  69. yield saved
  70. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
  71. yield
  72. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 248, in run_setup
  73. DirectorySandbox(setup_dir).run(runner)
  74. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 278, in run
  75. return func()
  76. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 246, in runner
  77. _execfile(setup_script, ns)
  78. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 47, in _execfile
  79. exec(code, globals, locals)
  80. File "/tmp/easy_install-t7ru49km/lxml-3.8.0/setup.py", line 233, in <module>
  81. File "/usr/lib/python3.6/distutils/core.py", line 163, in setup
  82. raise SystemExit("error: " + str(msg))
  83. SystemExit: error: command 'gcc' failed with exit status 1
  84.  
  85. During handling of the above exception, another exception occurred:
  86.  
  87. Traceback (most recent call last):
  88. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1101, in run_setup
  89. run_setup(setup_script, args)
  90. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 251, in run_setup
  91. raise
  92. File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
  93. self.gen.throw(type, value, traceback)
  94. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
  95. yield
  96. File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
  97. self.gen.throw(type, value, traceback)
  98. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 169, in save_modules
  99. saved_exc.resume()
  100. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 144, in resume
  101. six.reraise(type, exc, self._tb)
  102. File "/tmp/ve/lib/python3.6/site-packages/pkg_resources/_vendor/six.py", line 685, in reraise
  103. raise value.with_traceback(tb)
  104. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 157, in save_modules
  105. yield saved
  106. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
  107. yield
  108. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 248, in run_setup
  109. DirectorySandbox(setup_dir).run(runner)
  110. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 278, in run
  111. return func()
  112. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 246, in runner
  113. _execfile(setup_script, ns)
  114. File "/tmp/ve/lib/python3.6/site-packages/setuptools/sandbox.py", line 47, in _execfile
  115. exec(code, globals, locals)
  116. File "/tmp/easy_install-t7ru49km/lxml-3.8.0/setup.py", line 233, in <module>
  117. File "/usr/lib/python3.6/distutils/core.py", line 163, in setup
  118. raise SystemExit("error: " + str(msg))
  119. SystemExit: error: command 'gcc' failed with exit status 1
  120.  
  121. During handling of the above exception, another exception occurred:
  122.  
  123. Traceback (most recent call last):
  124. File "<string>", line 1, in <module>
  125. File "/tmp/pip-build-vyvuhqhd/xmlsec/setup.py", line 60, in <module>
  126. 'Topic :: Text Processing :: Markup :: XML'
  127. File "/usr/lib/python3.6/distutils/core.py", line 108, in setup
  128. _setup_distribution = dist = klass(attrs)
  129. File "/tmp/ve/lib/python3.6/site-packages/setuptools/dist.py", line 315, in __init__
  130. self.fetch_build_eggs(attrs['setup_requires'])
  131. File "/tmp/ve/lib/python3.6/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
  132. replace_conflicting=True,
  133. File "/tmp/ve/lib/python3.6/site-packages/pkg_resources/__init__.py", line 850, in resolve
  134. dist = best[req.key] = env.best_match(req, ws, installer)
  135. File "/tmp/ve/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1122, in best_match
  136. return self.obtain(req, installer)
  137. File "/tmp/ve/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1134, in obtain
  138. return installer(requirement)
  139. File "/tmp/ve/lib/python3.6/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
  140. return cmd.easy_install(req)
  141. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 665, in easy_install
  142. return self.install_item(spec, dist.location, tmpdir, deps)
  143. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 695, in install_item
  144. dists = self.install_eggs(spec, download, tmpdir)
  145. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 876, in install_eggs
  146. return self.build_and_install(setup_script, setup_base)
  147. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1115, in build_and_install
  148. self.run_setup(setup_script, setup_base, args)
  149. File "/tmp/ve/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1103, in run_setup
  150. raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  151. distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
  152. Building lxml version 3.8.0.
  153. Building without Cython.
  154. Using build configuration of libxslt 1.1.30
  155. ERROR: b'/usr/bin/xslt-config: line 96: --cflags: command not found\n'
  156. ** make sure the development packages of libxml2 and libxslt are installed **
  157.  
  158. Building against libxml2/libxslt in the following directory: /usr/lib
  159. Compile failed: command 'gcc' failed with exit status 1
  160.  
  161. ----------------------------------------
  162. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vyvuhqhd/xmlsec/
Advertisement
Add Comment
Please, Sign In to add comment