Hi. MichaelP, CAnthony. I believe that there is no support for Py_ssize_t in python 2.4
When I tried to build commit 34ef7f908fd8aa0cb9a5b6a726340777681b53ab Author: c_anthon <c_anthon> Date: Sun Apr 5 15:17:56 2009 +0000 add labels to the manual dice widget I got following: then mv -f ".deps/gnubg.Tpo" ".deps/gnubg.Po"; else rm -f ".deps/gnubg.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I./board3d -I/usr/include/libxml2 -DLOCALEDIR=\"\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.4 -I/usr/include/python2.4 -DDOCDIR='""' -DDATADIR='"/usr/local/share"' -DPKGDATADIR='"/usr/local/share/gnubg"' -g -O2 -MT gnubgmodule.o -MD -MP -MF ".deps/gnubgmodule.Tpo" -c -o gnubgmodule.o gnubgmodule.c; \ then mv -f ".deps/gnubgmodule.Tpo" ".deps/gnubgmodule.Po"; else rm -f ".deps/gnubgmodule.Tpo"; exit 1; fi gnubgmodule.c: In function ‘PyToCubeInfo’: gnubgmodule.c:149: error: ‘Py_ssize_t’ undeclared (first use in this function) gnubgmodule.c:149: error: (Each undeclared identifier is reported only once gnubgmodule.c:149: error: for each function it appears in.) gnubgmodule.c:149: error: expected ‘;’ before ‘iPos’ gnubgmodule.c:170: error: ‘iPos’ undeclared (first use in this function) gnubgmodule.c: In function ‘PyToEvalContext’: gnubgmodule.c:261: error: ‘Py_ssize_t’ undeclared (first use in this function) gnubgmodule.c:261: error: expected ‘;’ before ‘iPos’ gnubgmodule.c:268: error: ‘iPos’ undeclared (first use in this function) make[2]: *** [gnubgmodule.o] Error 1 make[2]: Leaving directory `/home/nori/Desktop/work/gnubg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nori/Desktop/work/gnubg' make: *** [all] Error 2 Nori _______________________________________________ Bug-gnubg mailing list Bug-gnubg@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnubg