Install freeciv-server only (clientless)
Posted: Tue Jul 26, 2016 7:22 am
Hello,
Is there any way how to compile and run freeciv-server without client section?
I woud like to provide my own freeciv server on linux, CLI only. I already own linux VPS (web, database and VPN services) without X. I want to install freeciv-server there.
I have tried several options, but everytime X11/GTK/Qt is required.
There is my ./configure:
According to man, I have tried option "--enable-client=stub" but no change. every time I get error:
All other dependencies have been met except Qt/GTK/X11.
I do not understand why these libs are required, when the option "--enable-client=auto/all/gtk2/gtk3/sdl/xaw/qt/stub[/code]" is set to xaw or stub ? No GTK/Qt .... If is there no chance to clientless server, I am willing to run minimalistic xaw client, but only without GTK/Qt installed to the server.
I also found option "--disable-server do not compile the server" but not "--disable-client" ... Is there any way how to install freeciv without client section?
Misc. info:
Freeciv latest stable release (2.5.4)
Debian 8 (amd64) linux - I want to compile it because Debian repos. provides only older releases.
I also have user auth to be enabled (sqlite)
Thank you
Regards
Is there any way how to compile and run freeciv-server without client section?
I woud like to provide my own freeciv server on linux, CLI only. I already own linux VPS (web, database and VPN services) without X. I want to install freeciv-server there.
I have tried several options, but everytime X11/GTK/Qt is required.
There is my ./configure:
Code: Select all
./configure --prefix=/usr/local/games --sysconfdir=/etc --enable-silent-rules --enable-fcdb=sqlite3 --enable-ipv6=no --enable-client=xaw
Code: Select all
...
checking pkg-config is at least version 0.7... yes
checking for GTK+ - version >= 2.12.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means GTK+ is incorrectly installed.
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means GTK+ is incorrectly installed.
checking Qt5 headers... not found
configure: error: Cannot build modpack installer with any gui
...
I do not understand why these libs are required, when the option "--enable-client=auto/all/gtk2/gtk3/sdl/xaw/qt/stub[/code]" is set to xaw or stub ? No GTK/Qt .... If is there no chance to clientless server, I am willing to run minimalistic xaw client, but only without GTK/Qt installed to the server.
I also found option "--disable-server do not compile the server" but not "--disable-client" ... Is there any way how to install freeciv without client section?
Misc. info:
Freeciv latest stable release (2.5.4)
Debian 8 (amd64) linux - I want to compile it because Debian repos. provides only older releases.
I also have user auth to be enabled (sqlite)
Thank you
Regards