Subject: Re: Tkinter fails to work with Python22
To: Jonathan <j.e.drews@worldnet.att.net>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/12/2004 02:21:04
--Signature=_Mon__12_Apr_2004_02_21_04_+0200_kFH=pdqHizxkFMAk
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sun, 11 Apr 2004 19:19:14 -0500
Jonathan <j.e.drews@worldnet.att.net> wrote:

> NetBSD 1.6.2
> i386
> packages:
> /usr/pkgsrc/lang/python22
> /usr/pkgsrc/x11/py-Tk
> 
> using pkgsrc.tar.gz from 10 April
> 
> compiled with gcc-2.95.3
> 
> I installed /usr/pkgsrc/mail/fetchmailconf but when I run it, it fails
> to start. It issues this warning:
> 
> notebook: {1} fetchmailconf
> Traceback (most recent call last):
> File "/usr/pkg/bin/fetchmailconf", line 9, in ?
> from Tkinter import *
> File "/usr/pkg/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
> import _tkinter # If this fails your Python may not be configured for Tk
> ImportError: /usr/pkg/lib/libtcl84.so.1: Undefined PLT symbol
> "pthread_setspecific" (reloc type = 7, symnum = 1145
> )
> 
> I see it refers to "pthread_setspecific". Does this mean that
> python22-pth should be used instead of python22 ?

I don't know much about python packages, but I think that you should install
the -pth version (at least under 1.6.x).

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Mon__12_Apr_2004_02_21_04_+0200_kFH=pdqHizxkFMAk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAeeDwypkLYVDran0RAvk+AKCARWlQZflw/pe1RXZ+PWlxlGv1wgCeOQqG
8+fkMySZgIZObVXQx0rT3rA=
=s7W+
-----END PGP SIGNATURE-----

--Signature=_Mon__12_Apr_2004_02_21_04_+0200_kFH=pdqHizxkFMAk--