From owner-freebsd-ports@FreeBSD.ORG Wed Sep 29 11:43:48 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1962716A4D1 for ; Wed, 29 Sep 2004 11:43:48 +0000 (GMT) Received: from smaug.vex.net (smaug.vex.net [66.96.28.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id C162B43D5A for ; Wed, 29 Sep 2004 11:43:47 +0000 (GMT) (envelope-from guy-dated-1099050210.9c71f3@obstruction.com) Received: from chaos.obstruction.com (CPE00e018983b2f-CM013349903124.cpe.net.cable.rogers.com [65.48.209.174]) by smaug.vex.net (Postfix) with ESMTP id E684D27714 for ; Wed, 29 Sep 2004 07:43:42 -0400 (EDT) Received: by chaos.obstruction.com (Postfix, from userid 1000) id 116595C6E; Wed, 29 Sep 2004 07:43:31 -0400 (EDT) Received: by chaos.obstruction.com (tmda-sendmail, from uid 1000); Wed, 29 Sep 2004 07:43:30 -0400 (EDT) Date: Wed, 29 Sep 2004 07:43:29 -0400 To: freebsd-ports@freebsd.org Message-ID: <20040929114329.GA52736@chaos.obstruction.com> References: <20040929061636.GA50960@chaos.obstruction.com> <200409290929.05352.andy@athame.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409290929.05352.andy@athame.co.uk> User-Agent: Mutt/1.5.4i From: Guy Middleton X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) Subject: Re: python builds without tkinter X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Guy Middleton List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 11:43:48 -0000 On Wed, Sep 29, 2004 at 09:29:02AM +0300, Andy Fawcett wrote: > On Wednesday 29 September 2004 09:16, Guy Middleton wrote: > > On a 5.3-BETA5 system, built Python from the port, tkinter appears to > > be missing: > > > > > > $ python > > Python 2.3.4 (#2, Sep 29 2004, 02:13:43) > > [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 > > Type "help", "copyright", "credits" or "license" for more > > information. > > > > >>> import Tkinter > > > > Traceback (most recent call last): > > File "", line 1, in ? > > File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 38, in ? > > import _tkinter # If this fails your Python may not be configured > > for Tk ImportError: No module named _tkinter > > > > > > > > The system has tcl8.4 and tk8.4 installed, I thought the Python port > > would be able to find these. > > See /usr/ports/lang/python/pkg-message, to see why tkinter is not > installed by default. Oops, I missed that. Thanks. -Guy