Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How can I install tkinter for python3 in Buildroot 2018.11.x ?
@ 2019-01-30  8:22 Fame Castle
  2019-02-04  9:23 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fame Castle @ 2019-01-30  8:22 UTC (permalink / raw)
  To: buildroot

Hello,

I have installed Buildroot from the GIT branch 2018.11.x . Everything works
as expected except python (3.7) having no tkinter installed.

There is this patch called "0017-add-an-option-to-disable-tk.patch":

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] How can I install tkinter for python3 in Buildroot 2018.11.x ?
  2019-01-30  8:22 [Buildroot] How can I install tkinter for python3 in Buildroot 2018.11.x ? Fame Castle
@ 2019-02-04  9:23 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-02-04  9:23 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 30 Jan 2019 09:22:12 +0100
Fame Castle <famecastle@gmail.com> wrote:

> I already enabled the tk and tcl packages inside "make menuconfig"
> but had no luck with it. When I was using buildroot 2018.05.x, I used
> this patch:
> https://sourceforge.net/p/armadeus/code/ci/master/tree/patches/buildroot/2017.02/012-armadeus-add-tkinter-support-to-python.patch
> in order to add a configuration option to python 3 which enables me
> to include Tkinter into python3. This patch, however, has no effect
> anymore on buildroot 2018.11.x . (I already tried changing
> PYTHON_DEPENDENCIES to PYTHON3_DEPENDENCIES in the patch).
> 
> I have no idea what I should do now. Can you help me?

I have tried to solve your issue using the below patch. Unfortunately,
it triggers a circular dependency, which I'm not sure how to solve at
this point:

Recursion detected for  : fontconfig
which is a dependency of: xlib_libXft
which is a dependency of: tk
which is a dependency of: python3
which is a dependency of: util-linux
which is a dependency of: fontconfig

We've already been bitten by this sort of circular dependencies in the
past, where the dependency of util-linux on python was a problem.

Here is the patch I have used:

  https://git.bootlin.com/users/thomas-petazzoni/buildroot/commit/?h=python-tkinter&id=7698e98b592bbd724903b8f657b672ee58ef8d11

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-04  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-30  8:22 [Buildroot] How can I install tkinter for python3 in Buildroot 2018.11.x ? Fame Castle
2019-02-04  9:23 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox