* Still having build problems - what version of python is required?
@ 2010-12-02 18:54 Tim Bird
2010-12-02 18:56 ` Gary Thomas
2010-12-02 19:05 ` Joshua Lock
0 siblings, 2 replies; 3+ messages in thread
From: Tim Bird @ 2010-12-02 18:54 UTC (permalink / raw)
To: yocto
So I gave up, for the time being, trying to build behind
my firewall.
I tried to set up a machine outside my firewall to do a build.
Unfortunately, this machine is a bit dated. It is running
Fedora 8, with python version 2.5.1.
Here's what I get when I run bitbake:
[tbird@tree poky-4.0-build]$ bitbake poky-image-minimal
File "/a/home/tbird/work/yocto/poky-laverne-4.0/scripts/..//bitbake//bin/bitbake", line 207
except Exception as e:
^
SyntaxError: invalid syntax
[tbird@tree poky-4.0-build]$ python --version
Python 2.5.1
[tbird@tree poky-4.0-build]$ cat /etc/issue
Fedora release 8 (Werewolf)1
What version of python is required?
Note also that I couldn't find a prce package for this distro, despite
there being an prce-devel page available. I don't know how important
that will be for building stuff.
Is it a dead end trying to get a host distro this old to build
poky?
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Network Entertainment
=============================
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Still having build problems - what version of python is required?
2010-12-02 18:54 Still having build problems - what version of python is required? Tim Bird
@ 2010-12-02 18:56 ` Gary Thomas
2010-12-02 19:05 ` Joshua Lock
1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2010-12-02 18:56 UTC (permalink / raw)
To: Tim Bird; +Cc: yocto
On 12/02/2010 11:54 AM, Tim Bird wrote:
> So I gave up, for the time being, trying to build behind
> my firewall.
>
> I tried to set up a machine outside my firewall to do a build.
> Unfortunately, this machine is a bit dated. It is running
> Fedora 8, with python version 2.5.1.
You need at least 2.6
> Here's what I get when I run bitbake:
>
> [tbird@tree poky-4.0-build]$ bitbake poky-image-minimal
> File "/a/home/tbird/work/yocto/poky-laverne-4.0/scripts/..//bitbake//bin/bitbake", line 207
> except Exception as e:
> ^
> SyntaxError: invalid syntax
> [tbird@tree poky-4.0-build]$ python --version
> Python 2.5.1
> [tbird@tree poky-4.0-build]$ cat /etc/issue
> Fedora release 8 (Werewolf)1
>
> What version of python is required?
>
> Note also that I couldn't find a prce package for this distro, despite
> there being an prce-devel page available. I don't know how important
> that will be for building stuff.
>
> Is it a dead end trying to get a host distro this old to build
> poky?
Probably yes. Can't you upgrade? Fedora 8 is really old now...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Still having build problems - what version of python is required?
2010-12-02 18:54 Still having build problems - what version of python is required? Tim Bird
2010-12-02 18:56 ` Gary Thomas
@ 2010-12-02 19:05 ` Joshua Lock
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Lock @ 2010-12-02 19:05 UTC (permalink / raw)
To: yocto
On Thu, 2010-12-02 at 10:54 -0800, Tim Bird wrote:
> So I gave up, for the time being, trying to build behind
> my firewall.
>
> I tried to set up a machine outside my firewall to do a build.
> Unfortunately, this machine is a bit dated. It is running
> Fedora 8, with python version 2.5.1.
>
> Here's what I get when I run bitbake:
>
> [tbird@tree poky-4.0-build]$ bitbake poky-image-minimal
> File "/a/home/tbird/work/yocto/poky-laverne-4.0/scripts/..//bitbake//bin/bitbake", line 207
> except Exception as e:
> ^
> SyntaxError: invalid syntax
> [tbird@tree poky-4.0-build]$ python --version
> Python 2.5.1
> [tbird@tree poky-4.0-build]$ cat /etc/issue
> Fedora release 8 (Werewolf)1
>
> What version of python is required?
>
> Note also that I couldn't find a prce package for this distro, despite
> there being an prce-devel page available. I don't know how important
> that will be for building stuff.
>
> Is it a dead end trying to get a host distro this old to build
> poky?
Possibly not, poky can build a standalone Python for people without
Python 2.6 on their host system. If you've any will left it could be
enough, I've used this Python version to do Poky builds on CentOS 5.5.
You need the appropriate version from
http://autobuilder.yoctoproject.org/downloads/miscsupport/
It will need extracting at / and will inflate
to /opt/poky/sysroots/$ARCH-pokysdk-linux/usr/bin/python you'll probably
want to update your PATH.
Cheers,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-02 19:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 18:54 Still having build problems - what version of python is required? Tim Bird
2010-12-02 18:56 ` Gary Thomas
2010-12-02 19:05 ` Joshua Lock
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.