Still having build problems - what version of python is required?
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
=============================
Quoted 6 lines · Tim Bird
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
Quoted 12 lines
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
Quoted 8 lines
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...
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 19 lines · Tim Bird
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
Quoted 8 lines
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
Signature · 2 lines
Joshua Lock
Intel Open Source Technology Centre