Jump to content

Compile alpha 27 on Ubuntu 22.04


Recommended Posts

I recently came across building alpha 27 on ubuntu 22.04 as there currently no builds in ppa. I managed to do so by following sequence in shell:

install packages:

sudo apt install build-essential cargo cmake libboost-dev libboost-system-dev   \   
   libboost-filesystem-dev libcurl4-gnutls-dev libenet-dev libfmt-dev   \
   libfreetype-dev m4 libgloox-dev libicu-dev libminiupnpc-dev libnvtt-dev   \
   libogg-dev libopenal-dev libpng-dev libsdl2-dev libsodium-dev libvorbis-dev   \
   libwxgtk3.0-gtk3-dev libxml2-dev python3 rustc subversion zlib1g-dev

and compile:

cd 0ad-sources

(cd libraries/  && ./build-source-libs.sh -j11)

(cd build/workspaces && ./update-workspaces.sh -j11 && cd gcc && make -j11)

This way everything went well. Maybe someone helps this, as the normal way with just running update-workspaces.sh failed on premake5 error.

Link to comment
Share on other sites

19 minutes ago, ffffffff said:

This way everything went well. Maybe someone helps this, as the normal way with just running update-workspaces.sh failed on premake5 error.

Yeah that changed between A26 and 27. Did you encounter docs that were still mentioning the old way ?

Link to comment
Share on other sites

6 minutes ago, Stan` said:

Yeah that changed between A26 and 27. Did you encounter docs that were still mentioning the old way ?

Yeah maybe. I grepped my way around the sources looking for build scripts and just executed them. I maybe saw that execution somewhere in the buildchain as well.. So that's a working way. Actually not much errors or warnings in the building at all. And very nice build verbosity on build-source-libs.sh script in logging.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...