In this example we will compile and install the latest stable release in a local way:
- Download the source code: https://www.bzflag.org/downloads (choose the ZIP one).
- Decompress it on some directory/folder (using the 'autodetect subfolder' option).
- Open a console into that new subfolder and run:
- ./configure --prefix=<path>/build ('<path>' (w/o the brackets) being usually the entire path to the subfolder; advice: avoid having spaces and symbols)
- make install
Consider that every new compilated tree (if you had several BZFlag versions installed) would use lot of disk space (about 800 MiB for me nowadays), then you could just have one active and the others reduced by hand (in example, by deleting all the .o files, by keeping only the setting files, etc.). In the other hand, you could keep the ZIP files, which are just about 14 MiB each one nowadays.
Of course, install previously all the required dependencies (autogen and configure will tell you, otherwise). For more help, see the documentation and the wiki.
Note: in the case where you had a too old/outdated Linux distro (and always being related to the software you are trying to compile; in the case of BZ you don't need to have very new libraries), you would have 2 options:
- Compile and install every dependency manually in a local way too (and then linking them to the BZ compilation).
- Use Wine.