[IPython-dev] Re: [SciPy-dev] Generic gui_thread + IPython: solution already exists!
John Hunter
jdhunter at ace.bsd.uchicago.edu
Mon Nov 15 13:20:29 EST 2004
>>>>> "Prabhu" == Prabhu Ramachandran <prabhu_r at users.sf.net> writes:
Prabhu> OK, so I assume that you do have a wx._core.PyApp_MainLoop
Prabhu> attribute, right?
Yes
Prabhu> Anyway, it looks like Tkinter support does not work for
Prabhu> everyone. This is wierd. Can you just check a few more
Prabhu> things, please?
Prabhu> $ ldd /usr/lib/python2.3/lib-dynload/_tkinter.so
I don't have _tkinter.so. What does that mean? Perhaps my tk is
compiled statically?
peds-pc311:~> find /usr/local/lib/python2.3/ -iname "*tkin*"
/usr/local/lib/python2.3/lib-tk/Tkinter.py
/usr/local/lib/python2.3/lib-tk/Tkinter.pyc
/usr/local/lib/python2.3/lib-tk/Tkinter.pyo
Prabhu> As you can see, mine links to libpthread. Similarly my
Prabhu> tcl library also appears to be compiled with
Prabhu> --enable-threads and links to libpthread. Is your version
Prabhu> of Tcl compiled with thread support?
Prabhu> $ ldd /usr/lib/libtcl8.4.so.0 libdl.so.2 =>
Prabhu> /lib/libdl.so.2 (0x400c3000) libpthread.so.0 =>
Prabhu> /lib/libpthread.so.0 (0x400c6000) libm.so.6 =>
Prabhu> /lib/libm.so.6 (0x40118000) libc.so.6 => /lib/libc.so.6
Prabhu> (0x4013a000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2
Prabhu> (0x80000000)
This may be my problem - I don't seem to have pthread compiled in
peds-pc311:~> ldd /usr/lib/libtk8.4.so
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7452000)
libdl.so.2 => /lib/libdl.so.2 (0xb7439000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7417000)
libc.so.6 => /lib/tls/libc.so.6 (0xb72de000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
peds-pc311:~> ldd /usr/lib/libtcl8.4.so
libdl.so.2 => /lib/libdl.so.2 (0xb7543000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7521000)
libc.so.6 => /lib/tls/libc.so.6 (0xb73e9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Prabhu> Maybe Tkinter support should be made an option.
Prabhu> Thanks for all the testing!
Prabhu> cheers, prabhu
More information about the IPython-dev
mailing list