[Howto][Guide] Compiling BZFlag in Void Linux

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
Zehra
Survey Champion 2024
Survey Champion 2024
Posts: 972
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

[Howto][Guide] Compiling BZFlag in Void Linux

Post by Zehra »

First post of the year: Compiling BZFlag on Void Linux

Update/Edit: See blast's post for more correct/detailed info.

Here's all the stuff you'll need if you don't have it (for 2.4.26):
Update/Edit: Corrected c-ares-utils to c-ares-devel

Code: Select all

sudo xbps-install automake
sudo xbps-install autoconf
sudo xbps-install libtool
sudo xbps-install gcc
sudo xbps-install make
sudo xbps-install c-ares-devel
sudo xbps-install libcurl-devel
sudo xbps-install SDL2-devel
sudo xbps-install glew-devel
I might have missed something, if so, D.M. me.

The standard commands work okay:

Code: Select all

./autogen.sh
./configure
make
You'll need 2.5.x the following:

Code: Select all

sudo xbps-install glm
sudo xbps-install cglm
sudo xbps-install libpng-devel
(I believe you can omit cglm, but I am not certain.)
Update/Edit: cglm isn't needed.

Hope this helps!

-Zehra
Last edited by Zehra on Thu Jan 04, 2024 2:31 am, edited 1 time in total.
Some useful references:
Map editor and tool list (summary)
Prefab and BZW help threads index
Map releases index
Some of my BZFlag related stuff.
BZList.net Modern HTML5 server stats site.

BZFlag has a cycle every 1-3 years. Activity drops/stops and resumes some time after. It returns to 90% of what it was.
We see late in 2013, the following thread: Why are there only like 30 people playing BZFLAG at one time.
Let's say 2014 starts with 30 players:
With a cycle length of:
3 years: 2017=27 players, 2020=24 players...
2.5 years: mid-2016=27 players, 2019=24 players, mid-2021=22 players.
I think the cycles get shorter as time goes along, but the bigger issue is eventually that activity will not be able to sustain itself in the long run, as nobody waits an hour for people to show up.
User avatar
blast
General
General
Posts: 4948
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: [Howto][Guide] Compiling BZFlag in Void Linux

Post by blast »

Do note that they already have a binary package installed, so you don't need to compile it yourself. You could just run "sudo xbps-install bzflag" and you'd have the client and server. Their official list of build dependencies for 2.4.26 is: SDL2-devel c-ares-devel glew-devel libcurl-devel ncurses-devel zlib-devel. So c-ares-utils should actually be c-ares-devel. And yes, 2.5 doesn't use cglm. We use glm, which is for C++.

I'd also imagine you can pass multiple package names to xbps-install instead of having to run the command a dozen times.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply