SamRewritten icon indicating copy to clipboard operation
SamRewritten copied to clipboard

can't compile on Arch

Open iGom opened this issue 1 year ago • 5 comments

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

iGom avatar Apr 06 '24 16:04 iGom

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?

PaulCombal avatar Apr 07 '24 06:04 PaulCombal

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

iGom avatar Apr 08 '24 02:04 iGom

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

PaulCombal avatar Apr 09 '24 18:04 PaulCombal

still the same

iGom avatar Apr 11 '24 16:04 iGom

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!

PaulCombal avatar Apr 11 '24 16:04 PaulCombal