![]() Tested on branches S2_6, S3_0, S3_1, and master using macOS 10.13.6 High Sierra, and MacPorts. They are based on the options used by the MacPorts freeciv port. You can also build for multiple clients by specifying a comma-separated list of client codes, e.g.Īs of May 2021, the following configure options were successful.If ngettext isn't found, you will be prompted to add "-disable-nls".As of version 2.1.13 there is a bug which requires building without readline (this bug does not seem to be present in 2.2.0-beta1 onwards):.Changing the "-cflags)" section of /opt/local/bin/sdl-config to I've been able to build the SDL client using the libs provided by MacPorts. GTK not only does, it also recognizes trackpad gestures. For instance, the SDL interface does not recognize a scroll wheel on a mouse. Fink does not have a gtk3 package avail, so no gtk3 client is possible.Īs of 2.2.0, the SDL client is not as plush as the GTK client. Instructions to install Fink can be found here. % brew reinstall -build-from-source icu4c Fix this by asking Homebrew to rebuild icu4c from source, then adding the metadata using pkg-config: ![]() Icu4c - Homebrew does not install the metadata used by configure by default. Libtool - Homebrew renames the binaries as 'glibtool' and 'glibtoolize' to avoid conflict which the Freeciv bootstrapping script struggles to detect. To force the system to use the homebrew version before running autoconf.sh. Gettext - there is a clash with the MacOSX version of the gettext tools. % export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH"Īt of 2017 three libraries seem to be particularly troublesome since Apple includes old or incomplete versions of these libraries in the base OS (Sierra and High Sierra): gettext, libtool, and icu4c. Head over to MacPorts, follow the installation instructions to install MacPorts.Thankfully heavy lifting can be done for you by a package manager like port or fink, mentioned above. MacPorts gets you the gtk+ package.Īlthough the source code does not need modification, it takes a good bit of work to lay the foundation so that you can compile Freeciv on top of it. Which package manager should you choose? Homebrew requires MacOS 10.14 or later, and gets you the gtk3 and adwaita-icon-theme packages. Note - you need only one of the package system managers. MacPorts package system manager for many open source packages.There are several tools that are useful in this process, and will make our job *much* easier. The x11 / quartz choice is purely a Mac issue, and does not seem to be covered elsewhere. freeciv-xaw (does not require supporting libraries - ie.freeciv-gtk3 requires gtk3 and adwaita-icon-theme packages.freeciv-gtk3.22 as of FreeCiv version 2.6.0, requires gtk3 and adwaita-icon-theme packages.(please add on if these instructions have worked)įreeciv supports several clients on Mac OS X: Updated Apr 2021 - I built Freeciv 2.6.4 OK on MacOS 10.12 and 11.2. 10.13.5 (High Sierra) - see gettext workaround below.10.8 (Mountain Lion) - You must install XQuartz Mountain Lion no longer includes X11 - see HT201341.2.2.0-beta2 (gtk2 client, compiles from source tarball without modifications using macports for prerequisites).2.1.10 (installs via macports as freeciv-x11).Ticket #42114 macOS compile error "use of undeclared identifier 'NSIG'" Fixed on S2_6 as of commit e686b79.so requests to first lines, to let compressed man pages work Only a problem when installing via MacPorts. Ticket #42249 CI: OSX Qt6 configure failing Applies to Branch S3_1, Qt client, built with new Qt6 rather then current Qt5.Ticket #42342 MacOS: Respect user set MOCCMD Fixed on S2_6 as of commit cb99fb0.Ticket #42402 Qt clients require c++11 (explicitly, on older macOS) Only a problem for branches S2_6, S3_0.All modifications (as of May 2021) are being tracked by bug tickets, and are being fixed. The good news is that Freeciv compiles on Mac OS X without only a little source code modification. This page assumes familiarity with development tools like make and git. ![]() ![]() The contents are taken, in part, from here. This page covers building Freeciv from source on Mac OS X.Īs an easier option, you may instead want to investigate using a package manager as described at Install-MacOSX.Īs of May 2021, this page has many revisions of instructions from many different years, different versions of Freeciv, and different versions of macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |