python-greenlet does not build (including fix)
Bug #1093252 reported by
VS
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The build log for python-greenlet gives the following error:
platform/
This can easily be fixed by commenting the fp-part on line 28 in platform/
#define REGS_TO_SAVE /*"r1", "r2", "r3", "r4",*/ "r5", "r6", /*"fp",*/ "ip", "lr"
This should hopefully allow packages that depend on python-greenlet to be built as well, such as python-gobject.
To post a comment you must log in.
Installing greenlet I had also another problem:
creating build/temp. linux-armv6l- 2.7
gcc -pthread -fno-strict- aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/ include/ python2. 7 -c greenlet.c -o build/temp. linux-armv6l- 2.7/greenlet. o
In file included from greenlet.c:5:0:
greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
------- ------- ------- ------- ------- ----- __file_ _='/tmp/ pip-build/ greenlet/ setup.py' ;exec(compile( open(__ file__) .read() .replace( '\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip- LpdJMC- record/ install- record. txt --single- version- externally- managed failed with error code 1 in /tmp/pip- build/greenlet .pip/pip. log
Command /usr/bin/python -c "import setuptools;
Storing complete log in /home/pi/