Advertisement
Guest User

Untitled

a guest
Mar 19th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. root@osmc:/home/osmc# apt-get install python-dev
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following packages were automatically installed and are no longer required:
  6. libjasper1 rbp2-image-4.4.27-5-osmc
  7. Use 'apt-get autoremove' to remove them.
  8. The following extra packages will be installed:
  9. libexpat1-dev libpython-dev libpython2.7-dev python2.7-dev
  10. The following NEW packages will be installed:
  11. libexpat1-dev libpython-dev libpython2.7-dev python-dev python2.7-dev
  12. 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  13. Need to get 18,4 MB of archives.
  14. After this operation, 25,3 MB of additional disk space will be used.
  15. Do you want to continue? [Y/n] y
  16. Get:1 http://ftp.debian.org/debian/ jessie/main libexpat1-dev armhf 2.1.0-6+deb8u3 [115 kB]
  17. Get:2 http://ftp.debian.org/debian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [18,0 MB]
  18. Get:3 http://ftp.debian.org/debian/ jessie/main libpython-dev armhf 2.7.9-1 [19,7 kB]
  19. Get:4 http://ftp.debian.org/debian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [284 kB]
  20. Get:5 http://ftp.debian.org/debian/ jessie/main python-dev armhf 2.7.9-1 [1180 B]
  21. Fetched 18,4 MB in 10s (1719 kB/s)
  22. Selecting previously unselected package libexpat1-dev:armhf.
  23. (Reading database ... 33233 files and directories currently installed.)
  24. Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u3_armhf.deb ...
  25. Unpacking libexpat1-dev:armhf (2.1.0-6+deb8u3) ...
  26. Selecting previously unselected package libpython2.7-dev:armhf.
  27. Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
  28. Unpacking libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
  29. Selecting previously unselected package libpython-dev:armhf.
  30. Preparing to unpack .../libpython-dev_2.7.9-1_armhf.deb ...
  31. Unpacking libpython-dev:armhf (2.7.9-1) ...
  32. Selecting previously unselected package python2.7-dev.
  33. Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
  34. Unpacking python2.7-dev (2.7.9-2+deb8u1) ...
  35. Selecting previously unselected package python-dev.
  36. Preparing to unpack .../python-dev_2.7.9-1_armhf.deb ...
  37. Unpacking python-dev (2.7.9-1) ...
  38. Setting up libexpat1-dev:armhf (2.1.0-6+deb8u3) ...
  39. Setting up libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
  40. Setting up libpython-dev:armhf (2.7.9-1) ...
  41. Setting up python2.7-dev (2.7.9-2+deb8u1) ...
  42. Setting up python-dev (2.7.9-1) ...
  43. root@osmc:/home/osmc# pip3 install meinheld
  44. Downloading/unpacking meinheld
  45. Downloading meinheld-0.6.1.tar.gz (79kB): 79kB downloaded
  46. Running setup.py (path:/tmp/pip-build-za7z4m3z/meinheld/setup.py) egg_info for package meinheld
  47.  
  48. Downloading/unpacking greenlet>=0.4.5,<0.5 (from meinheld)
  49. Downloading greenlet-0.4.12.tar.gz (57kB): 57kB downloaded
  50. Running setup.py (path:/tmp/pip-build-za7z4m3z/greenlet/setup.py) egg_info for package greenlet
  51.  
  52. Installing collected packages: meinheld, greenlet
  53. Running setup.py install for meinheld
  54. building 'meinheld.server' extension
  55. arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DWITH_GREENLET -DHTTP_PARSER_DEBUG=0 -I/usr/include/python3.4m -c meinheld/server/heapq.c -o build/temp.linux-armv7l-3.4/meinheld/server/heapq.o
  56. In file included from meinheld/server/heapq.h:4:0,
  57. from meinheld/server/heapq.c:1:
  58. meinheld/server/meinheld.h:4:20: fatal error: Python.h: No such file or directory
  59. #include <Python.h>
  60. ^
  61. compilation terminated.
  62. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  63. Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-za7z4m3z/meinheld/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-noh1zaov-record/install-record.txt --single-version-externally-managed --compile:
  64. running install
  65.  
  66. running build
  67.  
  68. running build_py
  69.  
  70. creating build
  71.  
  72. creating build/lib.linux-armv7l-3.4
  73.  
  74. creating build/lib.linux-armv7l-3.4/meinheld
  75.  
  76. copying meinheld/patch.py -> build/lib.linux-armv7l-3.4/meinheld
  77.  
  78. copying meinheld/common.py -> build/lib.linux-armv7l-3.4/meinheld
  79.  
  80. copying meinheld/gmeinheld.py -> build/lib.linux-armv7l-3.4/meinheld
  81.  
  82. copying meinheld/__init__.py -> build/lib.linux-armv7l-3.4/meinheld
  83.  
  84. copying meinheld/websocket.py -> build/lib.linux-armv7l-3.4/meinheld
  85.  
  86. copying meinheld/mlogging.py -> build/lib.linux-armv7l-3.4/meinheld
  87.  
  88. copying meinheld/middleware.py -> build/lib.linux-armv7l-3.4/meinheld
  89.  
  90. copying meinheld/msocket.py -> build/lib.linux-armv7l-3.4/meinheld
  91.  
  92. running build_ext
  93.  
  94. building 'meinheld.server' extension
  95.  
  96. creating build/temp.linux-armv7l-3.4
  97.  
  98. creating build/temp.linux-armv7l-3.4/meinheld
  99.  
  100. creating build/temp.linux-armv7l-3.4/meinheld/server
  101.  
  102. arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DWITH_GREENLET -DHTTP_PARSER_DEBUG=0 -I/usr/include/python3.4m -c meinheld/server/heapq.c -o build/temp.linux-armv7l-3.4/meinheld/server/heapq.o
  103.  
  104. In file included from meinheld/server/heapq.h:4:0,
  105.  
  106. from meinheld/server/heapq.c:1:
  107.  
  108. meinheld/server/meinheld.h:4:20: fatal error: Python.h: Nema takve datoteke ili direktorija
  109.  
  110. #include <Python.h>
  111.  
  112. ^
  113.  
  114. compilation terminated.
  115.  
  116. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  117.  
  118. ----------------------------------------
  119. Cleaning up...
  120. Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-za7z4m3z/meinheld/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-noh1zaov-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-za7z4m3z/meinheld
  121. Storing debug log for failure in /root/.pip/pip.log
  122. root@osmc:/home/osmc#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement