From owner-freebsd-python@FreeBSD.ORG Wed Jan 25 17:55:03 2012 Return-Path: Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B06C0106564A for ; Wed, 25 Jan 2012 17:55:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE218FC13 for ; Wed, 25 Jan 2012 17:55:02 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id q0PHsjol048045; Wed, 25 Jan 2012 18:55:01 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q0PHsj0u048044; Wed, 25 Jan 2012 18:54:45 +0100 (CET) (envelope-from olli) Date: Wed, 25 Jan 2012 18:54:45 +0100 (CET) Message-Id: <201201251754.q0PHsj0u048044@lurza.secnetix.de> From: Oliver Fromme To: freebsd-python@FreeBSD.ORG X-Newsgroups: list.freebsd-python User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (lurza.secnetix.de [127.0.0.1]); Wed, 25 Jan 2012 18:55:01 +0100 (CET) Cc: Subject: Installing multiple Python versions + tkinter X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 17:55:03 -0000 Hi, I would like to install Python 2.7 in addition to an existing installation of Python 2.6. The latter should stay the default version. These are the existing Python ports: python26 py26-tkinter Now I've installed python27, too. That works fine so far, but I would also like to install tkinter for Python 2.7 (because I want to use ttk). Unfortunately that doesn't seem to be possible. The port only builds for 2.6, and there is no option or other setting, as far as I can see. What's the proper way to build tkinter for a non-default Python version? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97