Unable to start xaw client in Cygwin (Freeciv 2.2.7)

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Post Reply
rgba
Posts: 1
Joined: Wed Mar 31, 2021 9:15 am

Unable to start xaw client in Cygwin (Freeciv 2.2.7)

Post by rgba »

I built an older version of FreeCiv in Cygwin, this way:

Code: Select all

./configure --enable-client=xaw --disable-nls --with-readline
make
I did not run 'make install', so I started the server and client from the source directory.

I start the server with

Code: Select all

./ser
and it prints

Code: Select all

This is the server for Freeciv version 2.2.7
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets
2: AI*1 has been added as Easy level AI-controlled player.
2: AI*2 has been added as Easy level AI-controlled player.
2: AI*3 has been added as Easy level AI-controlled player.
2: AI*4 has been added as Easy level AI-controlled player.
2: AI*5 has been added as Easy level AI-controlled player.
2: Now accepting new client connections.

For introductory help, type 'help'.
>
waiting at the prompt. Which seems fine.

However, in another terminal, I start the client with

Code: Select all

./civ
but it quits with a message about fonts

Code: Select all

Unable to find client executable: freeciv.exe
Searching for freeciv clients ...
... using ./client/freeciv-xaw.exe
Running ./client/freeciv-xaw.exe
1: Unimplemented set_city_names_font_sizes.
1: last message repeated 2 times
1: last message repeated 2 times (total 4 repeats)
2: Didn't find the option file.
1: Unimplemented set_city_names_font_sizes.
2: Using fallback resources - which is OK
0: Unable to open fontset: -*-*-*-*-*-*-14-*
0: Doing 'xset fp rehash' may temporarily solve a problem.
I tried 'xset ...', specified in the last message, but that didn't change anything.

What could be wrong?

I am running the Cygwin/X X server on Windows 10, and in the Cygwin terminal the DISPLAY variable is set as follows

Code: Select all

$ echo $DISPLAY
:0.0
My locale settings is

Code: Select all

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
Post Reply