Summary: | python 2.3 doesn't work with tk 8.4.x | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Grant <davidgrant> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Grant
2004-02-23 06:34:56 UTC
*** Bug 42592 has been marked as a duplicate of this bug. *** Here's the output during python emerge building '_tkinter' extension gcc -pthread -DNDEBUG -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fPIC \ -fno-strict-aliasing -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11R6/include -I. -I/\ var/tmp/portage/python-2.3.3/work/Python-2.3.3/./Include -I/var/tmp/portage/pyt\ hon-2.3.3/work/Python-2.3.3/Include -I/var/tmp/portage/python-2.3.3/work/Python\ -2.3.3 -c /var/tmp/portage/python-2.3.3/work/Python-2.3.3/Modules/_tkinter.c -o\ build/temp.linux-i686-2.3/_tkinter.o gcc -pthread -DNDEBUG -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fPIC \ -fno-strict-aliasing -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11R6/include -I. -I/\ var/tmp/portage/python-2.3.3/work/Python-2.3.3/./Include -I/var/tmp/portage/pyt\ hon-2.3.3/work/Python-2.3.3/Include -I/var/tmp/portage/python-2.3.3/work/Python\ -2.3.3 -c /var/tmp/portage/python-2.3.3/work/Python-2.3.3/Modules/tkappinit.c -\ o build/temp.linux-i686-2.3/tkappinit.o gcc -pthread -shared build/temp.linux-i686-2.3/_tkinter.o build/temp.linux-i686\ -2.3/tkappinit.o -L/usr/X11R6/lib -L/usr/local/lib -lBLT -ltk8.4 -ltcl8.4 -lX11\ -o build/lib.linux-i686-2.3/_tkinter.so *** WARNING: renaming "_tkinter" since importing it failed: build/lib.linux-i686-2.3/_tkinter.so: undefined symbol: TkSetClassProcs Looks like it is including the tk8.3 libraries properly, I may have found the answer to the problem: http://mail.python.org/pipermail/python-list/2003-April/160335.html I'll try this in a bit. BTW, shouldn't revdep-rebuild have caught this? Another interesting thing is that when I upgraded to tk-8.4, and then ran revdep-rebuild, it didn't catch python as needed a rebuild either... revdep-rebuild doesn't look at python modules, afaik. anyway, it is working for me, so maybe it is a local problem: mcvaio /usr/lib/python2.3/lib-dynload % ldd _tkinter.so linux-gate.so.1 => (0xffffd000) libtk8.4.so => /usr/lib/libtk8.4.so (0x40027000) libtcl8.4.so => /usr/lib/libtcl8.4.so (0x400ff000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401aa000) libpthread.so.0 => /lib/libpthread.so.0 (0x40287000) libc.so.6 => /lib/libc.so.6 (0x40298000) libdl.so.2 => /lib/libdl.so.2 (0x403c8000) libm.so.6 => /lib/libm.so.6 (0x403cb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) this is with tk-8.4.5, but it has been working since 8.4.3, as far as i can remember. do you have any other information you can provide? emerge info? full log of dev-lang/tk merge and python merge? re-emerging blt fixed it. thanks. thanks |