I'm in the process of building the Open Embedded/Angstrom build environment for my SAM9G25-EK dev board. I was following the instructions as listed on the Linux4SAM website here:
http://www.at91.com/linux4sam/bin/view/ ... m_for_AT91. While building the base-image set of packages, I had the following error while it was attempting to build the python package:
x86_64-pc-linux-gnu-gcc: directory": No such file or directory
<command-line>: warning: missing terminating " character
./Modules/getbuildinfo.c: In function '_Py_svnversion':
./Modules/getbuildinfo.c:48: error: missing terminating " character
./Modules/getbuildinfo.c:48: error: expected expression before ';'
token
make: *** [Modules/getbuildinfo.o] Error 1
I found out that there is a patch that needs to be applied to python for it to build correctly if you are using Subversion 1.7 or above. A better description of the problem is here:
http://bugs.python.org/issue6094, and the patch is here:
http://hg.python.org/cpython/rev/150986ab3db2/. If you are using the OE stable branch as instructed, you have to apply the patch by hand; there's only a few lines to change so it's not too difficult.
Could someone update the instructions on the Linux4SAM website to include the patch?
Thanks,
Bryan