Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 19:27:12 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-python@FreeBSD.ORG
Subject:   Re: Installing multiple Python versions + tkinter
Message-ID:  <201201251827.q0PIRCpY049737@lurza.secnetix.de>
In-Reply-To: <201201251754.q0PHsj0u048044@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme <olli@secnetix.de> wrote:
 > What's the proper way to build tkinter for a non-default
 > Python version?

Answering myself ...  By reading through the bsd.python.mk
Makefile I found out that the following incantation in
tkinter's port directory does the trick:

# PYTHON_DEFAULT_VERSION=python2.7 make

However, I think this should be documented somewhere in a
reasonable place.  It certainly shouldn't require users to
read Makefiles.

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 have stopped reading Stephen King novels.
Now I just read C code instead."
        -- Richard A. O'Keefe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201251827.q0PIRCpY049737>