f_nlocals, f_ncells, f_nfreevars, f_stack_size and f_restricted are deprecated in Python 2.5. Those belong to /usr/include/python2.4/frameobject.h This error happens both on bub-n-bros-1.1 and 1.5. running build_ext building 'statesaver' extension creating build creating build/temp.linux-i686-2.5 /usr/lib/ccache/bin/gcc -fno-strict-aliasing -march=pentium4 -O2 -pipe -fPIC -I/usr/include/python2.5 -c statesaver.c -o build/temp.linux-i686-2.5/statesaver.o statesaver.c: En la función ‘genbuild’: statesaver.c:47: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_nfreevars’ statesaver.c:47: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_ncells’ statesaver.c: En la función ‘gencopy’: statesaver.c:98: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_stacksize’ statesaver.c:98: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_stacksize’ statesaver.c: En la función ‘key_richcmp’: statesaver.c:184: error: ‘PyCmp_EQ’ no se declaró aquí (primer uso en esta función) statesaver.c:184: error: (Cada identificador no declarado solamente se reporta una vez statesaver.c:184: error: ara cada funcion en la que aparece.) error: command '/usr/lib/ccache/bin/gcc' failed with exit status 1
ok i build a patch to fix this issue... aparently it works please give it a try. If it works as expected i'll submit upstream
Created attachment 125717 [details, diff] python2.5 compile fix
ping on this ? can we get this done ?
Fixed, thanks Luis.