From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ku0TQ-0006vu-7Q for garchives@archives.gentoo.org; Sun, 26 Oct 2008 07:55:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 133E8E035F; Sun, 26 Oct 2008 07:55:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D9739E035F for ; Sun, 26 Oct 2008 07:55:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 175F1645E9; Sun, 26 Oct 2008 07:55:41 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Cross-Compiling Python Date: Sun, 26 Oct 2008 03:55:39 -0400 User-Agent: KMail/1.9.9 Cc: Jason References: <48F8D128.8000501@lakedaemon.net> In-Reply-To: <48F8D128.8000501@lakedaemon.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2696331.cZaWd8Hcr9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200810260355.40373.vapier@gentoo.org> X-Archives-Salt: 2458a57c-f631-4711-a4e5-68bcbea2652e X-Archives-Hash: 8ed62a5f88f651f080239461d335b817 --nextPart2696331.cZaWd8Hcr9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 17 October 2008, Jason wrote: > 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) !=3D "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... because the python build system requires python in order to build properly.= =20 and we cant really guarantee that unless the versions are the same. feel=20 free to post a patch that has the ebuild build python twice so the host=20 python never gets used ... =2Dmike --nextPart2696331.cZaWd8Hcr9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJJBCJ8AAoJEEFjO5/oN/WBuG4P/3w7bxmaqiq3YQ+MyHUDwwMm /wnYUmQ74sqo48PTCGSUzGdsew6pDL4nsvWj23M9ceVo4Dp3i5T5dIMEY70H7awP VRn2SbE1vd0C8odv1+eJj7QOvM611naWXbYmwzxNZkM4gvO0C9wYjVVzTW1U3DPJ 6C/CivA+4QCgMpT23W6ENXlirPSwiKj5NXNNUNUc6KjzVIdHn+2xVgICiaZaftpm cVvfYr8xR8xZ2vvQ0rtbftctilobxfiLdaGYpXpAAAdVInaU7WOm0gKG+c02wRIa jk9873vC95xRousfW+8SYIgA1UgZweHh9XCJU/bOAIusyqUQ/k6lcMHA9bRdfSwM t/Zi/ZxvAy2Aehk/ygJxVGq97OsskENnR863KPBV2xgzS9fn4ni2Xv2qmPbGjCF+ 7Z+T+1kk0AEs8VNEqeLNEBP9uKbjnD0viVZnH8zAv2q10LsG7b7xWYkLN1k51QrT HZhqnkkNEJ7SlLX4MOWLumF9N7fcJvHfh7FZ3FU1Mi4zIU4049EQ0S3vp/OWVxnK cAlq12sdJVdDxaYJDjQL5pTDpv3SRhFbkslfHO4S1Duev/SDrXbiRfMrqj1vHeCS Vh2CJxN3AVJl15kf8GncTqR0DJ9i1XXvs+SokUE8sFLQySBIj5e1vluxFnEXx4ZS GcgFnrrUbD4jaVOtW0Vf =v56v -----END PGP SIGNATURE----- --nextPart2696331.cZaWd8Hcr9--