Re: [pypy-dev] Tkinter-pypy not building on windows

2012-01-18 Thread Arnaud F
The reference to X11.lib comes from the original setup.py. The reference to python27.lib seems to come from distutils (build_ext.py, in the get_libraries method) I didn't find any .lib file in my pypy installation (the standard binaries version 1.7 32bits for windows), just some dlls. Do I need to

Re: [pypy-dev] Tkinter-pypy not building on windows

2012-01-18 Thread Amaury Forgeot d'Arc
2012/1/18 Arnaud F > Still no luck. > I made sure that i am using the correct version of tcl/tk and tested the > compilation of tkinter with python27 and it worked. > With pypy, i still have to define WITH_THREAD (it's defined in pyconfig.h > for python27 but not in pypy-1.7); I also had to modif

Re: [pypy-dev] Tkinter-pypy not building on windows

2012-01-18 Thread Arnaud F
Still no luck. I made sure that i am using the correct version of tcl/tk and tested the compilation of tkinter with python27 and it worked. With pypy, i still have to define WITH_THREAD (it's defined in pyconfig.h for python27 but not in pypy-1.7); I also had to modify the setup.py since i used tcl

Re: [pypy-dev] Tkinter-pypy not building on windows

2012-01-17 Thread Amaury Forgeot d'Arc
Hi, 2012/1/17 Arnaud F > When trying to build tkinter from source, i get the following errors : > [...] > src/_tkinter.c(3133) : error C2065: 'tcl_lock' : undeclared identifier > Which version of tcl are you using? Are you sure it was compiled with threads? There is a comment about this at t

[pypy-dev] Tkinter-pypy not building on windows

2012-01-17 Thread Arnaud F
Hi all, When trying to build tkinter from source, i get the following errors : src/_tkinter.c(33) : warning C4273: 'PyOS_InputHook' : inconsistent dll linkage src/_tkinter.c(32) : see previous definition of 'PyOS_InputHook' src/_tkinter.c(673) : warning C4996: 'strcpy': This function or v