* python tkinter dependencies
@ 2014-07-02 3:41 Jate S
2014-07-02 5:51 ` Jens Lucius
0 siblings, 1 reply; 7+ messages in thread
From: Jate S @ 2014-07-02 3:41 UTC (permalink / raw)
To: Yocto Project, jenslucius
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: python tkinter dependencies
2014-07-02 3:41 python tkinter dependencies Jate S
@ 2014-07-02 5:51 ` Jens Lucius
2014-07-10 20:11 ` Jate S
0 siblings, 1 reply; 7+ messages in thread
From: Jens Lucius @ 2014-07-02 5:51 UTC (permalink / raw)
To: Jate S, Yocto Project
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: python tkinter dependencies
2014-07-02 5:51 ` Jens Lucius
@ 2014-07-10 20:11 ` Jate S
2014-07-10 22:30 ` [yocto] " Martin Jansa
2014-07-14 10:38 ` [yocto] " Paul Eggleton
0 siblings, 2 replies; 7+ messages in thread
From: Jate S @ 2014-07-10 20:11 UTC (permalink / raw)
To: Jens Lucius; +Cc: Yocto Project, openembedded-devel
- 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 <jenslucius@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.
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: python tkinter dependencies
2014-07-10 20:11 ` Jate S
@ 2014-07-10 22:30 ` Martin Jansa
2014-07-14 10:38 ` [yocto] " Paul Eggleton
1 sibling, 0 replies; 7+ messages in thread
From: Martin Jansa @ 2014-07-10 22:30 UTC (permalink / raw)
To: Jate S; +Cc: Yocto Project, Jens Lucius, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2378 bytes --]
On Thu, Jul 10, 2014 at 04:11:29PM -0400, Jate S wrote:
> - 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?
You can use PACKAGECONFIG for optional dependencies like tk, that way
patch adding PACKAGECONFIG can go to oe-core and only people with
meta-oe and tk available will enable it.
>
> - Jate S.
>
> On Wed, Jul 2, 2014 at 1:51 AM, Jens Lucius <jenslucius@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.
> >
> >
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] python tkinter dependencies
@ 2014-07-10 22:30 ` Martin Jansa
0 siblings, 0 replies; 7+ messages in thread
From: Martin Jansa @ 2014-07-10 22:30 UTC (permalink / raw)
To: Jate S; +Cc: Yocto Project, Jens Lucius, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2378 bytes --]
On Thu, Jul 10, 2014 at 04:11:29PM -0400, Jate S wrote:
> - 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?
You can use PACKAGECONFIG for optional dependencies like tk, that way
patch adding PACKAGECONFIG can go to oe-core and only people with
meta-oe and tk available will enable it.
>
> - Jate S.
>
> On Wed, Jul 2, 2014 at 1:51 AM, Jens Lucius <jenslucius@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.
> >
> >
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: python tkinter dependencies
2014-07-10 20:11 ` Jate S
@ 2014-07-14 10:38 ` Paul Eggleton
2014-07-14 10:38 ` [yocto] " Paul Eggleton
1 sibling, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2014-07-14 10:38 UTC (permalink / raw)
To: Jate S; +Cc: yocto, Jens Lucius, openembedded-devel
On Thursday 10 July 2014 16:11:29 Jate S wrote:
> - 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?
I think the answer is that we have some things in OE-Core that depend on tcl
(e.g. expect) but nothing in OE-Core requires tk.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] python tkinter dependencies
@ 2014-07-14 10:38 ` Paul Eggleton
0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2014-07-14 10:38 UTC (permalink / raw)
To: Jate S; +Cc: yocto, Jens Lucius, openembedded-devel
On Thursday 10 July 2014 16:11:29 Jate S wrote:
> - 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?
I think the answer is that we have some things in OE-Core that depend on tcl
(e.g. expect) but nothing in OE-Core requires tk.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-07-14 10:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-02 3:41 python tkinter dependencies Jate S
2014-07-02 5:51 ` Jens Lucius
2014-07-10 20:11 ` Jate S
2014-07-10 22:30 ` Martin Jansa
2014-07-10 22:30 ` [yocto] " Martin Jansa
2014-07-14 10:38 ` Paul Eggleton
2014-07-14 10:38 ` [yocto] " Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.