Need help compiling from source and using checkinstall

Forum home -> General Chat -> View topic

Post

Posted
Rating:
#1090 (In Topic #505)
Avatar
Standard member
Hey I come from youtube and saw a video of you on how to compile from source. I am trying to build from source from a game called beyond all reason:

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!
Online now: No Back to the top

Post

Posted
Rating:
#1091
Avatar
NOTS Staff
Hi there! What OS/distro are you trying to do this on? Which steps are you following in the docs, and what errors are you running into?

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.
Online now: Yes Back to the top

Post

Posted
Rating:
#1092
Avatar
Standard member
The distro i'm using is linux mint. In terms of issues, they mention to "download chobby using one of the links above and start the application." but those links just seem like the game to me, the source code itself i cant find any chobby launcher. so im not sure exactly what they mean there. I'm fairly new to linux and especially compiling from source so still learning things.
Online now: No Back to the top

Post

Posted
Rating:
#1093
Avatar
Standard member
I'm trying to compile warsow  the game instead since it seems easier.

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?
Online now: No Back to the top

Post

Posted
Rating:
#1094
Avatar
NOTS Staff
I got around to trying qfusion tonight!

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

Online now: Yes Back to the top

Post

Posted
Rating:
#1095
Avatar
Standard member
Thanks. When they say to navigate to qfusion/third-party and build CMake-based angelscript and openal-soft subprojects, what do they mean by this exactly and how do i go about doing this?  Also the patch they mentioned, do i just copy all of that and paste it in the terminal?
Online now: No Back to the top
1 guest and 0 members have just viewed this.