From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Python subprocess module missing in multiconfig.py
Date: Thu, 7 Aug 2014 15:08:25 -0400 [thread overview]
Message-ID: <20140807190825.GV19374@bill-the-cat> (raw)
In-Reply-To: <affc7456d26ca5a43a0cff739aea1274.squirrel@127.0.0.1>
On Thu, Aug 07, 2014 at 12:11:41PM -0400, david at plentovichdesign.com wrote:
> Hello. I read the posts a couple days ago about the Python issues with
> Kconfig feature. I didn't see a resolution on how this would be fixed. I
> am running Ubuntu 14.04LTS, building u-boot and the problem I have is that
> the eldk tools have a older python (2.7.3) which does not have the
> subprocess module but the current Ubuntu python (2.7.6) does include the
> subprocess module. When I add the eldk (cross compiler) path before my
> env $PATH the defconfig fails in multiconfig.py (uses the python in the
> eldk toolkit). Can I just remove python from the eldk tools (so the newer
> python will be used) or is that older python version required for some
> other script in the cross compiler?
>
> pdavid at david-TECRA-A8:~$ python
> Python 2.7.6 (default, Mar 22 2014, 22:59:38)
> [GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import subprocess
> >>>
> [1]+ Stopped python
> david at david-TECRA-A8:~$ export
> PATH=/opt/eldk-5.5/armv5te/sysroots/i686-eldk-linux/usr/bin:/opt/eldk-5.5/armv5te/sysroots/i686-eldk-linux/usr/bin/armv5te-linux-gnueabi:/opt/eldk-5.5/armv5te/sysroots/i686-eldk-linux/usr/sbin:/opt/eldk-5.5/armv5te/sysroots/i686-eldk-linux/usr/sbin/armv5te-linux-gnueabi:$PATH
You only need
/opt/eldk-5.5/armv5te/sysroots/i686-eldk-linux/usr/bin/armv5te-linux-gnueabi
to be added to your PATH to compile U-Boot (or the kernel). I don't
know why OpenEmbedded-based SDKs default to such a stripped down Python2
installation.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140807/98e52dd1/attachment.pgp>
next prev parent reply other threads:[~2014-08-07 19:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 16:11 [U-Boot] Python subprocess module missing in multiconfig.py david at plentovichdesign.com
2014-08-07 19:08 ` Tom Rini [this message]
2014-08-07 19:37 ` Jeroen Hofstee
2014-08-07 19:43 ` Tom Rini
2014-08-07 20:02 ` Jeroen Hofstee
2014-08-07 20:04 ` Jeroen Hofstee
2014-08-07 20:14 ` Marek Vasut
2014-08-07 20:37 ` Jeroen Hofstee
2014-08-07 21:52 ` Marek Vasut
2014-08-08 22:16 ` Jeroen Hofstee
2014-08-09 12:52 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140807190825.GV19374@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox