1 |
>-----Original Message----- |
2 |
>From: Jason [mailto:gentoo@××××××××××.net] |
3 |
>Sent: Friday, October 17, 2008 12:54 PM |
4 |
>To: gentoo-embedded@l.g.o |
5 |
>Subject: Re: [gentoo-embedded] Cross-Compiling Python |
6 |
> |
7 |
>Melton, Jason wrote: |
8 |
>> I have been trying to get Gentoo to run on the Atmel AT91RM9200 |
9 |
>> processor that I have on a custom board. So far, I have managed to |
10 |
>> cross compile quite a few packages (some requiring help) for the |
11 |
>> processor but when it comes to Python, I get the following error: |
12 |
>[snip] |
13 |
>> * The specific snippet of code: |
14 |
>> * [[ $(python -V 2>&1) != "Python ${PV}" ]] && die |
15 |
>> "Crosscompiling requires the same host and build versions."; |
16 |
> |
17 |
>Version number, _not_ architecture. Run 'python -V' on the x86 system. |
18 |
> is it the same as the python version you are trying to cross-compile? |
19 |
>For some reason python requires this... |
20 |
> |
21 |
>To solve you'll need to either upgrade or downgrade the host or target. |
22 |
> I'd recommend adjusting the target version to match the build host. |
23 |
>Assuming the build host is up to date. |
24 |
> |
25 |
>hth, |
26 |
> |
27 |
>Jason. |
28 |
|
29 |
Thank you very much. That seems to have fixed it. |
30 |
|
31 |
Jason |
32 |
|
33 |
-------------------------------------------------------------------- |
34 |
CONFIDENTIALITY NOTE: This transmission is intended solely for the use of the individual(s) |
35 |
to whom it is addressed and may contain information that is privileged, confidential, |
36 |
or otherwise exempt from disclosure under applicable law. |
37 |
If the reader of this message is not the intended recipient, or an |
38 |
authorized representative of the intended recipient, you are hereby |
39 |
notified that any review, retransmission, dissemination, distribution, |
40 |
copying of or taking of any action in reliance upon this communication is strictly prohibited. |
41 |
If you have received this communication in error, please delete it |
42 |
from your system without copying or forwarding it, and notify the |
43 |
sender of the error by reply e-mail. |