Need help compiling from source and using checkinstall
Posted
#1090
(In Topic #505)
Standard member
https://github.com/beyond-all-reason/Beyond-All-Reason?tab=readme-ov-file
The instructions are a bit confusing even though it seems simple at first. I want to compile this game and use checkinstall to create a .deb package. Can you please help me? Thanks!
Posted
NOTS Staff
I actually haven't used CheckInstall before, but I can probably help you figure out how to get the program to compile first, at least. However, that repo appears to be written mostly in Lua, and I'm not sure Lua needs to be manually compiled– it's more like Python, where it's interpreted at runtime. Also, if you're actually trying to make a complete package for that game, it sounds like you'll need to deal with two different repositories– the one you linked, and the separate one for the game's launcher.
Posted
Standard member
Posted
Standard member
https://github.com/Warsow/qfusion
This part confuses me because im not sure how to do that:
Building dependencies
You have to navigate to qfusion/third-party and build CMake-based angelscript and openal-soft subprojects. This has to be done once upon initial setup.
We use our custom static build of Qt. You have to download Qt 5.13.2 source bundle separately. MD5 Checksums are
7c04c678d4ecd9e9c06747e7c17e0bb9 qt-everywhere-src-5.13.2.tar.xz
39a0465610f70d9f877f42fc5337d1ac qt-everywhere-src-5.13.2.zip
Are these two separate things or are those tar and zips part of building angelscript and openal-soft?
Posted
NOTS Staff
First of all, those are separate steps, they're just both related to dependencies.
For Qt, you can download the version needed from here: https://download.qt.io/archive/qt/5.13/5.13.2/single/ You only need one of the two files, they're just different formats of the same thing. I ran `tar xvf qt-everywhere-src-5.13.2.tar.xz` to extract it, then `cd qt-everywhere-src-5.13.2/` to go into its directory.
Now, when it came to patching Qt like they tell you to, I ran into a problem when I copy/pasted the first patch code block into a file and tried to `git apply` it. The patch was missing leading spaces on some of the lines, so it didn't work automatically. I just opened a pull request with the project to try and fix that: https://github.com/Warsow/qfusion/pull/66
If they accept my pull request, or if I have some more time soon, I can keep trying to get the project to build. I'd be a little put off by that one since its README had a malformed patch, and because it appears from the commit messages like the maintainers might be using AI for their project. (I tried to use ChatGPT to figure out why that patch file wasn't working, and while it did sort of point me in the right direction, it certainly wasn't good at actually fixing the issue.)
Last edit: by jacobgkau
Posted
Standard member
1 guest and 0 members have just viewed this.
