1 (edited by lamefun 2010-10-23 16:58:52)

Topic: Compiling Teeworlds with Python 2 as /usr/bin/python2

Archlinux got an update recently and now /usr/bin/python is Python 3 and Python 2 is now /usr/bin/python2. How to compile Teeworlds now?

2

Re: Compiling Teeworlds with Python 2 as /usr/bin/python2

Did you try compiling the newest git version? I think there was an update to make the python scripts compatible to version 3.
If not: Fast (and hacky) way: link /usr/local/bin/python to /usr/bin/python2.

I didn't test it, but it should work. Don't forget to delete the link afterwards.

aka cheesy

3

Re: Compiling Teeworlds with Python 2 as /usr/bin/python2

I found a clean way: just replace this

return "python " .. name

to

return "/usr/bin/python2 " .. name

in default.bam