Open PezaoPJ opened 6 years ago
http://mesonbuild.com/Reference-manual.html#join_paths
It was added in meson 0.36.0, and you're on 0.29.0. Are you able to upgrade meson? Otherwise, we may be able to implement an alternative for join_paths
This also affects Ubuntu 16.04 LTS. The next LTS release is just around the corner and it should update meson to a suitable version, but an alternative for join_paths could be interesting because many LTS users will not upgrade before 18.04.1 rolls out in July.
FWIW, meson is incredibly standalone so can be downloaded from https://github.com/mesonbuild/meson/releases and used from a local directory. I think that'd be the best way to work around this instead of trying to shoehorn in an early meson version.
What I used for SteamOS:
python 3.6
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
tar xvf Python-3.6.3.tgz
cd Python-3.6.3
./configure --enable-optimizations
make -j8
sudo make altinstall
python3.6 --version
ninja (you can also use the binary releases)
https://github.com/ninja-build/ninja
cd ninja
python 3.6 boostrap.py
python 3.6 configure.py
meson
git clone https://github.com/mesonbuild/meson
sudo python3.6 setup.py install --install-scripts=/usr/bin
meson --version
0.48.999
Finally, this project:
cd gamemode/
git checkout 1.2
export PATH=/home/desktop/gamemode/ninja:$PATH
./bootstrap.sh
Problem though was systemd was too old (possible to work around) - SteamOS is still on Jessie :(
../daemon/dbus_messaging.c
../daemon/dbus_messaging.c:42:28: fatal error: systemd/sd-bus.h: No such file or directory
#include <systemd/sd-bus.h>
For now, while not what this does, a simple, but hacky script that changes the cpu mode as described here and waits: https://github.com/mdeguzis/SteamOS-Tools/blob/master/utilities/set-cpu-perf.sh
Maybe other tweaks could help make the script an alternative for older systems.
So, I created the "build" folder and then
Any tips?