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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...