Page 2 of 2

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 4:03 pm
by mkd
I see, I really appreciate your help, especially given that you are not a Mac user. I wish I had a Windows where things would be much easier, I presume... At the same time I enjoy learning all this stuff about compiling gnu packages manually.

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 4:48 pm
by Elefant
No problem :D. You could also try

Code: Select all

 jhbuild build freeciv
That should build freeciv and it's dependencies, according to the jhbuild readme, but I don't know if freeciv is compatible with the automation tools.

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 5:11 pm
by cazfi
mkd wrote: Wed Jun 19, 2024 5:59 amWhat confuses me now is that the config.log is now complaining about not finding zlib.pc while checking for gtk+-3.0:
There must be (recursively) a dependency for zlib defined in the gtk+-3.0.pc you are using, causing it to look for zlib.pc. The freeciv configure itself checks for zlib by other means (doesn't require .pc file for zlib)

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 9:57 pm
by cazfi
If following that specific method is not important to you, but you want to get freeciv working by any means, I would recommend trying using homebrew. That's what our CI (continuous integration) tests to be working after every change that gets in.

See https://github.com/freeciv/freeciv/blob ... ows/ci.yml and https://github.com/freeciv/freeciv/blob ... i-build.sh for reference for how CI does it.

Maybe also https://github.com/freeciv/freeciv/blob ... pbundle.sh is worth checking out.

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 10:01 pm
by mkd
Elefant wrote: Wed Jun 19, 2024 4:48 pm No problem :D. You could also try

Code: Select all

 jhbuild build freeciv
That should build freeciv and it's dependencies, according to the jhbuild readme, but I don't know if freeciv is compatible with the automation tools.
Actually, running ~/.new_local/bin/jhbuild shell and then ./configure in that shell worked! It's all compiled and installed now and running fine! :D Except there's no sound but I am working on that as well...

Re: Installing FreeCiv on Apple Silicon

Posted: Wed Jun 19, 2024 10:02 pm
by mkd
cazfi wrote: Wed Jun 19, 2024 9:57 pm If following that specific method is not important to you, but you want to get freeciv working by any means, I would recommend trying using homebrew. That's what our CI (continuous integration) tests to be working after every change that gets in.
I understand and I get that it is usually much easier with package managers but I have an aversion to macports and homebrew...