From: Greg C. <gre...@ya...> - 2002-01-17 07:54:11
|
Hi, Im trying to get psyco to compile again on Win32, Ive found that case T_OBJECT_EX: /* same as T_OBJECT, exception if NULL */ T_OBJECT_EX non-existent in Python/psyco. Commenting out the entire case gets a compile. Also a couple of lines needed to be added to pobject.c: DEFINEVAR fixed_switch_t psyfs_tuple; DEFINEVAR fixed_switch_t psyfs_dict; Any problems with commenting out that section and using the default? After the above changes, I get a build and install. pystone.py works pystone-jit.py test.py bpnn.py all core dump. Im guessing they have to do with my futile attempt at getting something working. Thanks, --Greg __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |
From: Armin R. <ar...@ul...> - 2002-01-17 12:29:25
|
Hello Greg, On Wed, 16 Jan 2002, Greg Czajkowski wrote: > case T_OBJECT_EX: /* same as T_OBJECT, exception if > NULL */ I ran into the same problem on a machine on which Python 2.2b1 only was installed. It seems that T_OBJECT_EX has been added to .../Python/structmember.h very late in the final release 2.2 of Python. Upgrading to the official 2.2 release should fix the problem, but if you like you can add a "#ifdef T_OBJECT_EX" around the above case and commit it to CVS to prevent the same problem from arising again. > Also a couple of lines needed to be added to > pobject.c: > DEFINEVAR fixed_switch_t psyfs_tuple; > DEFINEVAR fixed_switch_t psyfs_dict; Right, I forgot these. > pystone-jit.py test.py bpnn.py > all core dump. Im guessing they have to do with my > futile attempt at getting something working. I just realized this as well. I will have a look at it immediately. Armin. |