missing locale_charset on Mac
Posted: Fri May 15, 2020 8:45 pm
I just tried to build the latest download of FreeCiv on my Mac (OS 10.15.4), and everything went smoothly except, during "make",
A Spotlight search turns up /opt/local/share/gettext/intl/localcharset.c, which defines a locale_charset() function; any reason configure and/or make couldn't find it?
I tried ./configure | grep charset to see what configure thought about this, and it saidUndefined symbols for architecture x86_64:
"_locale_charset", referenced from:
_init_character_encodings in libfreeciv.a(fciconv.o)
ld: symbol(s) not found for architecture x86_64
I don't know of any reason I would need readline in FreeCiv, so that part seems harmless, but it might indicate an underlying problem.checking for libcharset... yes
configure: WARNING: Test to link against readline library failed.
Configuring server without readline support.
A Spotlight search turns up /opt/local/share/gettext/intl/localcharset.c, which defines a locale_charset() function; any reason configure and/or make couldn't find it?