[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: 935
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.
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
blast
General
General
Posts: 4937
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