BLT/Python PMW problem
Mariappan, MaharajanX
m_mariappanX at trillium.com
Wed Apr 24 00:43:29 EDT 2002
Hi Sridhar,
Do you able to import blt in python shell?
First build BLT 2.4x, and then rebuild python with tkinter+blt module is
enabled in Modules/Setup file and retry this. I able to run blt widgets
sucessfully. But i'm not able understand what r u tring... by below lines.
>>>> from Tkinter import *
>>>> m=Tk()
>>>> m.tk.call('package', 'require', 'BLT')
Maharajan
>-----Original Message-----
>From: Sridhar Anandakrishnan [mailto:sak at essc.psu.edu]
>Sent: Tuesday, April 23, 2002 8:40 PM
>To: python-list at python.org
>Subject: BLT/Python PMW problem
>
>
>Hi,
>
>When I try and load BLT from within Tkinter, I get this error:
>
>Python 2.2.1 (#1, Apr 9 2002, 13:10:27)
>[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> from Tkinter import *
>>>> m=Tk()
>>>> m.tk.call('package', 'require', 'BLT')
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>TclError: couldn't load file "/usr/lib/libBLT24.so":
>/usr/lib/libBLT24.so: undefined symbol: TclpAlloc
>>>>
>
>Any idea what's up? I don't get this problem if I do this
>directly from
>Tcl, so it is some sort of path problem? I don't know Tcl well enough
>to track this down - any help appreciated.
>
>(python 2.2.1, tcl/tk 8.3.4, blt 2.4x)
>
>Sincerely,
>Sridhar.
>--
>http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list