Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@osmc:/home/osmc# apt-get install python-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libjasper1 rbp2-image-4.4.27-5-osmc
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- libexpat1-dev libpython-dev libpython2.7-dev python2.7-dev
- The following NEW packages will be installed:
- libexpat1-dev libpython-dev libpython2.7-dev python-dev python2.7-dev
- 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
- Need to get 18,4 MB of archives.
- After this operation, 25,3 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://ftp.debian.org/debian/ jessie/main libexpat1-dev armhf 2.1.0-6+deb8u3 [115 kB]
- Get:2 http://ftp.debian.org/debian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [18,0 MB]
- Get:3 http://ftp.debian.org/debian/ jessie/main libpython-dev armhf 2.7.9-1 [19,7 kB]
- Get:4 http://ftp.debian.org/debian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [284 kB]
- Get:5 http://ftp.debian.org/debian/ jessie/main python-dev armhf 2.7.9-1 [1180 B]
- Fetched 18,4 MB in 10s (1719 kB/s)
- Selecting previously unselected package libexpat1-dev:armhf.
- (Reading database ... 33233 files and directories currently installed.)
- Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u3_armhf.deb ...
- Unpacking libexpat1-dev:armhf (2.1.0-6+deb8u3) ...
- Selecting previously unselected package libpython2.7-dev:armhf.
- Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
- Unpacking libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
- Selecting previously unselected package libpython-dev:armhf.
- Preparing to unpack .../libpython-dev_2.7.9-1_armhf.deb ...
- Unpacking libpython-dev:armhf (2.7.9-1) ...
- Selecting previously unselected package python2.7-dev.
- Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
- Unpacking python2.7-dev (2.7.9-2+deb8u1) ...
- Selecting previously unselected package python-dev.
- Preparing to unpack .../python-dev_2.7.9-1_armhf.deb ...
- Unpacking python-dev (2.7.9-1) ...
- Setting up libexpat1-dev:armhf (2.1.0-6+deb8u3) ...
- Setting up libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
- Setting up libpython-dev:armhf (2.7.9-1) ...
- Setting up python2.7-dev (2.7.9-2+deb8u1) ...
- Setting up python-dev (2.7.9-1) ...
- root@osmc:/home/osmc# pip3 install meinheld
- Downloading/unpacking meinheld
- Downloading meinheld-0.6.1.tar.gz (79kB): 79kB downloaded
- Running setup.py (path:/tmp/pip-build-za7z4m3z/meinheld/setup.py) egg_info for package meinheld
- Downloading/unpacking greenlet>=0.4.5,<0.5 (from meinheld)
- Downloading greenlet-0.4.12.tar.gz (57kB): 57kB downloaded
- Running setup.py (path:/tmp/pip-build-za7z4m3z/greenlet/setup.py) egg_info for package greenlet
- Installing collected packages: meinheld, greenlet
- Running setup.py install for meinheld
- building 'meinheld.server' extension
- 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
- In file included from meinheld/server/heapq.h:4:0,
- from meinheld/server/heapq.c:1:
- meinheld/server/meinheld.h:4:20: fatal error: Python.h: No such file or directory
- #include <Python.h>
- ^
- compilation terminated.
- error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
- 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:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-armv7l-3.4
- creating build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/patch.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/common.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/gmeinheld.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/__init__.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/websocket.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/mlogging.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/middleware.py -> build/lib.linux-armv7l-3.4/meinheld
- copying meinheld/msocket.py -> build/lib.linux-armv7l-3.4/meinheld
- running build_ext
- building 'meinheld.server' extension
- creating build/temp.linux-armv7l-3.4
- creating build/temp.linux-armv7l-3.4/meinheld
- creating build/temp.linux-armv7l-3.4/meinheld/server
- 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
- In file included from meinheld/server/heapq.h:4:0,
- from meinheld/server/heapq.c:1:
- meinheld/server/meinheld.h:4:20: fatal error: Python.h: Nema takve datoteke ili direktorija
- #include <Python.h>
- ^
- compilation terminated.
- error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
- ----------------------------------------
- Cleaning up...
- 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
- Storing debug log for failure in /root/.pip/pip.log
- root@osmc:/home/osmc#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement