[freeciv-dev] Re: Freeciv 3.0.0 first beta source code released

  • From: Marko Lindqvist <cazfi74@xxxxxxxxx>
  • To: freeciv-dev@xxxxxxxxxxxxx
  • Date: Mon, 29 Mar 2021 04:35:54 +0300

On Mon, 29 Mar 2021 at 04:28, Marko Lindqvist <cazfi74@xxxxxxxxx> wrote:


On Mon, 29 Mar 2021 at 04:18, Dean <ddeanbrown@xxxxxxxxxxx> wrote:

I'm unable to build this on my Mac, configure gets error msg -

checking for icu-uc... no
configure: error: icu development files required

This is likely because of the new requirement for the libicu-devel
package. I am using Homebrew for my Mac package manager and it only
lists the icu4c package as available. I have that package installed, but
it doesn't look like it has icu-uc.

Anyone have a suggestion and/or work-around? Maybe I have to wait 'til
3.0.0 is non-beta and Homebrew updates their stuff? I hope Mac users
don't get shut out.

 I don't have a Mac to do any testing on the matter, but our CI
(Continuous Integration) system does Mac builds, so it definitely is
something that is possible to get working. We don't have CI set up for
3.0, only for newer development versions, but the icu dependency has
not changed.

 Looking at the CI build scripts for Mac, it explicitly sets include
and libs paths with a component that seems like icu4c related (gettext
and qt5 get similar treatment):

export CPPFLAGS="-I/usr/local/opt/gettext/include
-I/usr/local/opt/icu4c/include -I/usr/local/opt/qt@5/include
$CPPFLAGS"
export LDFLAGS="-L/usr/local/opt/gettext/lib
-L/usr/local/opt/icu4c/lib -L/usr/local/opt/qt@5/lib"

 Maybe these help?


 - ML

Other related posts: