Page 1 of 2

Freeciv 3 for macOS?

Posted: Sat Feb 19, 2022 8:25 pm
by 420nm
Hello fellow Freeciv'er!

For the last 1.5 hours I have been searching this forum and the main site to find out if Freeciv 3 will be available for the Mac. Since I haven't found any information about this, I would like to ask this question here.

Thnaks for any enlightment! :-)

Re: Freeciv 3 for macOS?

Posted: Sat Feb 19, 2022 9:45 pm
by Dino the Dinosore
I have it working on my Mac, and hope to soon make available a pre-built zip file on the Dropbox linked from the wiki page http://www.freeciv.org/wiki/Install-MacOSX

I expect there will be MacPorts and/or Homebrew versions sometime. I know someone is working on updating the MacPorts version, he says "not soon".

Meanwhile, if you're adventurous, you can try building it yourself starting with the instructions on http://www.freeciv.org/wiki/Build-MacOSX That page needs to be updated, and both pages should be renamed because MacOSX is outdated now that the latest MacOS version is 11.6.

Re: Freeciv 3 for macOS?

Posted: Sun Feb 20, 2022 2:09 am
by Dino the Dinosore
Zip file for MacOS 11 Big Sur now available, see the wiki page http://www.freeciv.org/wiki/Install-MacOSX for dropbox link.

Next I will try to make something for MacOS 10.14 - 10.15.

Re: Freeciv 3 for macOS?

Posted: Sun Feb 20, 2022 9:41 am
by 420nm
Dino the Dinosore wrote:I have it working on my Mac, and hope to soon make available a pre-built zip file on the Dropbox linked from the wiki page http://www.freeciv.org/wiki/Install-MacOSX

I expect there will be MacPorts and/or Homebrew versions sometime. I know someone is working on updating the MacPorts version, he says "not soon".

Meanwhile, if you're adventurous, you can try building it yourself starting with the instructions on http://www.freeciv.org/wiki/Build-MacOSX That page needs to be updated, and both pages should be renamed because MacOSX is outdated now that the latest MacOS version is 11.6.
Thank you for these info! Since I am not a programmer, my adventurous ground ends when no detailed step by step manuals exist. Although I am quite Mac-savvy, I doubt that I could solve obstacles on such a path... I wish I had made that interest of mine for programming into a hobby - or even better - into a profession...

Re: Freeciv 3 for macOS?

Posted: Sun Feb 20, 2022 9:52 am
by 420nm
Dino the Dinosore wrote:Zip file for MacOS 11 Big Sur now available, see the wiki page http://www.freeciv.org/wiki/Install-MacOSX for dropbox link.
Although I am on 10.15, I might give that a try on an external spare HD...

Re: Freeciv 3 for macOS?

Posted: Sun Feb 20, 2022 7:08 pm
by 420nm
420nm wrote:
Dino the Dinosore wrote:Zip file for MacOS 11 Big Sur now available, see the wiki page http://www.freeciv.org/wiki/Install-MacOSX for dropbox link.
Although I am on 10.15, I might give that a try on an external spare HD...
Here is a short feedback:
I downloaded the ZIP file from the Dropbox and tried to run Freeciv 3.0 on my iMac 27 (Retina Late 2015) with macOS Big Sur 11.6.4 (freshly updated today), but no success. Although I granted permission for opening the app, the OS did not run it. An error message popped up saying something like "Please contact the developer of this software to make sure that it is able to run on your installed OS".

I don't know what the problem ist, but I could also be my system: I booted from an external USB drive with macOS 11.6.4 installed.

Nevertheless, I want to thank you and the other developers of Freeciv for your good work! If I can help somehow, let me know (but I am not a programmer...)

Re: Freeciv 3 for macOS?

Posted: Mon Feb 21, 2022 4:23 am
by Dino the Dinosore
That's weird - don't know what's up. I'm also running 11.6 and it works for me.

Re: Freeciv 3 for macOS?

Posted: Tue Feb 22, 2022 9:03 pm
by 420nm
This is what the Terminal app printed out (Big Sur 11.6.4 with Freeciv 3.0.0):

- - - - -
Last login: Tue Feb 22 21:45:00 on ttys000
admin@Mats-iMac27 ~ % /Applications/freeciv.app/Contents/MacOS/freeciv-gtk3.22 ; exit;
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicuuc.69.dylib
Referenced from: /Applications/freeciv.app/Contents/MacOS/freeciv-gtk3.22
Reason: image not found
zsh: abort /Applications/freeciv.app/Contents/MacOS/freeciv-gtk3.22
Saving session...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Prozess beendet]
- - - - -

It doesn't tell the noob (= me) anything.

Re: Freeciv 3 for macOS?

Posted: Wed Feb 23, 2022 4:05 am
by Dino the Dinosore
This is useful - I now know about a problem with what I built and maybe I can fix it.

Curious - could you try the same thing but drop the "freeciv-qt" executable on the Terminal icon.

Re: Freeciv 3 for macOS?

Posted: Wed Feb 23, 2022 5:35 am
by Dino the Dinosore
OK, I think I fixed that problem with the dyld: Library not loaded, and put a newer zip file up in the dropbox. So give it another try. Also, if it launches by dropping an executable on the Terminal icon, it should also launch by double-clicking on the app icon.