public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason <gentoo@lakedaemon.net>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Cross-Compiling Python
Date: Fri, 17 Oct 2008 13:53:44 -0400	[thread overview]
Message-ID: <48F8D128.8000501@lakedaemon.net> (raw)
In-Reply-To: <C977FA1845860B44B84CF9A5FCD54FFB02F49660@psi-exch2.planningsystems.local>

Melton, Jason wrote:
> I have been trying to get Gentoo to run on the Atmel AT91RM9200
> processor that I have on a custom board.  So far, I have managed to
> cross compile quite a few packages (some requiring help) for the
> processor but when it comes to Python, I get the following error:
[snip]
>  * The specific snippet of code: 
>  *           [[ $(python -V 2>&1) != "Python ${PV}" ]] && die
> "Crosscompiling requires the same host and build versions."; 

Version number, _not_ architecture.  Run 'python -V' on the x86 system.
 is it the same as the python version you are trying to cross-compile?
For some reason python requires this...

To solve you'll need to either upgrade or downgrade the host or target.
 I'd recommend adjusting the target version to match the build host.
Assuming the build host is up to date.

hth,

Jason.



  reply	other threads:[~2008-10-17 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 17:47 [gentoo-embedded] Cross-Compiling Python Melton, Jason
2008-10-17 17:53 ` Jason [this message]
2008-10-17 20:52   ` Melton, Jason
2008-10-26  7:55   ` Mike Frysinger
2008-11-15  5:29     ` Enrico Weigelt

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=48F8D128.8000501@lakedaemon.net \
    --to=gentoo@lakedaemon.net \
    --cc=gentoo-embedded@lists.gentoo.org \
    /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