Yekaterina Posted February 4, 2023 Report Share Posted February 4, 2023 Hi, I would like to build the old A25b release so that I can play Hyrule Conquest, but I got this error when building it: Seems like there is something wrong with a python file? Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted February 4, 2023 Author Report Share Posted February 4, 2023 I'm running Arch Linux and I used the command: ./update-workspaces -j13 --disable-atlas What exactly is SpiderMonkey? How do you bypass the error? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 4, 2023 Report Share Posted February 4, 2023 @Yekaterina you have a too new version of Python and it fails with SpiderMonkey 78.0 You cannot bypass that library as it's the engine that makes JavaScript (AI, RMGen, Simulation, GUI) work. That library relies heavily on Python. You could try to backport some of the patches that were added after that. Maybe Arch provides previous versions of 0 A.D. Quote Link to comment Share on other sites More sharing options...
fabio Posted February 4, 2023 Report Share Posted February 4, 2023 Debian has patches here: https://salsa.debian.org/games-team/0ad/-/tree/master/debian/patches (The two newer ones) Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted February 4, 2023 Author Report Share Posted February 4, 2023 56 minutes ago, Stan` said: new version of Python which version of python should I use? Quote Link to comment Share on other sites More sharing options...
fabio Posted February 4, 2023 Report Share Posted February 4, 2023 3.10.x should work without patches. Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted February 4, 2023 Author Report Share Posted February 4, 2023 1 minute ago, fabio said: 3.10.x should work without patches. But I also do need 3.11 on my system for work. Can I have both installed at the same time? Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted February 4, 2023 Author Report Share Posted February 4, 2023 3 minutes ago, fabio said: 3.10.x should work without patches. I do have python 3.10.9 installed: Quote Link to comment Share on other sites More sharing options...
fabio Posted February 4, 2023 Report Share Posted February 4, 2023 Yes. But as I said before, you can just apply the 2 patches I pointed to with 3.11. Quote Link to comment Share on other sites More sharing options...
fabio Posted February 4, 2023 Report Share Posted February 4, 2023 What I said was for a26, a25 is too old and has its own issues... For a25b + python 3.10 a patch is here: https://salsa.debian.org/games-team/0ad/-/tree/debian/0.0.25b-2/debian/patches Quote Link to comment Share on other sites More sharing options...
Norse_Harold Posted February 4, 2023 Report Share Posted February 4, 2023 1 hour ago, Yekaterina said: But I also do need 3.11 on my system for work. Can I have both installed at the same time? Yes, you can have python version 3.10 and 3.11 installed at the same time. I had that setup for a while. You can control which version of python is used by changing the symlink /usr/bin/python3 to point to /usr/bin/python3.10. Maybe there is an app that configures the default version of python3, but I'm not aware of it currently. Just remember to configure the symlink back to python3.11 again after you're done building 0ad. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.