- Python-tkinter requires the tk recipe in meta-oe, so you must add this layer for your build. - I am on dora. I found that I needed commit "tk: make multilib build compatible and fix library install" made on 12/5/2013 (1ca29d1cda0d007c4e6a28fe1a4037b4029ad7ae). - I created a bbappend for python. In this I added DEPENDS_class-target on tk, and RDEPENDS_class-target on tk and tk-lib. Also, I did a SRC_URI replace to eliminate the avoid_warning_about_tkinter.patch file.
I was able to build and use python-tkinter successfully. The question now is if this should go into meta-oe or oe-core. And how. The tcl recipe is in oe-core, but not tk. I'm not yet sure why this is. Does anybody know? - Jate S. On Wed, Jul 2, 2014 at 1:51 AM, Jens Lucius <jensluc...@freenet.de> wrote: > Hi > > It worked for me in my build env after trying several things. > > I did setup a new yocto some while ago and actually had the same problems > again. > > There is a patch in python about tkinter (03-fix-tkinter-detection.patch). > > I removed that, did a fresh rebuild of python (-c clean) and did a rebuild > of my image (as no new image was written by building my image after > rebuilding python). > > Either of these did work for me, maybe somebody knows exactly which step :-) > > Jens > > Am 02.07.2014 05:41, schrieb Jate S: > >> The python-tkinter module requires _tkinter. A result from a websearch >> suggested that I needed to make sure tk (from meta-oe/meta-oe) and tcl >> were installed before compiling python. >> >> I added a DEPENDS on the tk and tcl recipes to both python and >> python-tkinter in a python_2.7.3.bbappend. It did not work and was >> never built. >> >> I'm looking for tips to figure out what is going on. Thanks. >> >> >> - Jate S. > > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel