FlexRAN fails to build Pistache dependency => FlexRAN build fails
FlexRAN fails to build the Pistache dependency with "build_m5g -f". Pistache is cloned by tools/install_dependencies from https://github.com/oktal/pistache.git. Branch is "master" (i.e. default; not specified in the install_dependencies script).
- Not specifying a commit is error-prone, since the repository may be unstable. Unfortunately, Pistache does not use tags. Probably, the last working commit was: 9a65f40975fafca5bb5370ba6d0d00f42cbc4356 .
- Pistance now requires CMake 3.11 => not available in Ubuntu 18.04 => Build of FlexRAN not possible for Ubuntu < 20.04.
Proposed solution: install Pistache from PPA:
sudo add-apt-repository -y ppa:pistache+team/stable
sudo apt update
sudo apt install -y libpistache-dev
Alternative solution: Choose a known-to-work Pistache commit, e.g. git checkout 9a65f40975fafca5bb5370ba6d0d00f42cbc4356.