[arch-general] python problems while compiling Android 4.0

Thanasis Georgiou sakisds.s at gmail.com
Sun Jan 29 05:43:04 EST 2012


On 29 January 2012 12:33, Madhurya Kakati <mkakati2805 at gmail.com> wrote:
> On 01/29/12 at 12:28pm, Thanasis Georgiou wrote:
>> I remember doing this, it was a problem with python. I think it wanted
>> python2 but it found python3, something like that. I couldn't really
>> understand the script, it was python inside bash so instead of
>> spending years trying to fix it I moved /usr/bin/python to
>> /usr/bin/python.bak and copied /usr/bin/python2 to /usr/bin/python.
>> This is a (really) -bad- solution, if you try it remember to restore
>> the files or something will surely go wrong.
>
> Look at the command carefully. I used python2. That means it is running python
> 2.7.2. Right now I am downloading python2.6 from AUR. Hope that helps.
> --
> Madhurya Kakati

Yes but check, for example, line 23 in the repo script. It clearly
runs 'python' and not 'python2' or 'python3' and since 'python' stands
for 'python3' in Archlinux so I think that's the problem.
-- 
Thanasis Georgiou


More information about the arch-general mailing list