PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
321 stars 29 forks source link

can't compile on Arch #168

Open iGom opened 3 months ago

iGom commented 3 months ago

It seems it can't compile on Arch

make: *** [Makefile:51: obj/src/gui/MainPickerWindowFactory.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: samrewritten-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: samrewritten-git - exit status 4 log.txt

PaulCombal commented 3 months ago

How did you install gcc? What's the compiler version? Reading from the logs it looks like some configuration issue that might be on your end. Did you install all the dependencies from the README successfully? Any arch users to the rescue?

iGom commented 3 months ago

via pacman from official repo, GCC 13.2.1, all dependencies installed. There are also others who got the issue https://aur.archlinux.org/packages/samrewritten-git#comment-915758

PaulCombal commented 3 months ago

Can you run pacman -Sy glib2 pkg-config and try again?

iGom commented 3 months ago

still the same

PaulCombal commented 3 months ago

I can compile perfectly on docker ubuntu.. and I'm not an arch guru :(

It seems like an issue with the Arch dependencies, maybe they were updated and broke compatibility.. Can you take it to the Arch forums? If you find what the issue is you can come back to me so I can update the readme with updated instructions.

Or maybe you could try compiling on a docker image and see if that works on your host.

I'm sorry I can't help any further.. If you need any help I'll leave the issue open until it's resolved, feel free to ask anything!