Notes on compiling for Ubuntu 16.04...
1. Get the build tools
sudo apt-get build-dep openttd
2. Download and unzip source code from Github
3. Change directory into the unzipped source code.
Takes a few minutes...
sudo make installHere, I had a problem:
install: target '///usr/local/share/games/openttd/data' is not a directorySolution:
Makefile.bundle:178: recipe for target 'install' failed
make: *** [install] Error 1
I manually created the directory.
sudo mkdir -p /usr/local/share/games/openttd/data
and ran sudo make install
It installed and runs.
I also have the standard openttd installed (downloaded the .deb file from openttd.org)
This installs into /opt/openttd.
There is no data/ directory there.
I guess the data/ directory is needed for the patched openttd, but not the standard openttd
I'm no expert on makefiles, but it seems like the makefile is not creating the data directory.
Anyway, the problem is solved, it works and was an easy fix, and probably won't happen again (when I compile the next JGR version) because the directory has already been created.