Page 1 of 4
					
				Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 4:06 pm
				by Corbeau
				After trying to install it manually (Linux Mint 17), I gave up and went through Software Manager. However, the newest version of FreeCiv I can get through that is 2.5.1. Is there anything that can be done to get a newer version?
			 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 4:18 pm
				by cazfi
				Corbeau wrote:After trying to install it manually (Linux Mint 17)
Maybe we try to walk you through this? I can try installing Linux Mint 17 to a virtual machine and see how freeciv builds there myself. Which "Edition" you are using; 
https://www.linuxmint.com/release.php?id=22 ?
 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 4:25 pm
				by Corbeau
				Well, we can try.
Linux Mint 17 Cinnamon 32-bit
(So I assume putting it on repository is requires an amount of work? It would  be a better solution for the general public)
			 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 4:26 pm
				by cazfi
				cazfi wrote:Maybe we try to walk you through this?
It would be handy if you would be around at #freeciv @ freenode IRC channel.
 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 4:29 pm
				by Corbeau
				cazfi wrote:cazfi wrote:Maybe we try to walk you through this?
It would be handy if you would be around at #freeciv @ freenode IRC channel.
 
Ok, I think I'm in.
 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 5:22 pm
				by Corbeau
				I'll just archive this here for future reference, just in case...
mkdir freeciv
cd freeciv
wget 
http://files.freeciv.org/stable/freeciv-2.5.7.tar.bz2
tar xjf freeciv-2.5.7.tar.bz2
mkdir build
cd build
sudo apt-get install autoconf automake libtool
../freeciv-2.5.7/autogen.sh
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libreadline-dev
sudo apt-get install libgtk-3-dev
../freeciv-2.5.7/configure --enable-debug
make
./fcser
./fcgui
(not finished, but operable)
 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 6:12 pm
				by cazfi
				Lesson 2: Building Qt-client to separate build-directory
Code: Select all
> sudo apt-get install qt5-default g++
> cd freeciv
> mkdir qt
> cd qt
> ../freeciv-2.5.7/configure --enable-debug --enable-client=qt
> make
> ./fcgui
 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 7:21 pm
				by cazfi
				Now that you know how to build from a tarball, I created a tarball from the current tip of S2_6 branch in case you want to test the upcoming version. For now (but not infinitely) it's available at 
http://cazfi.net/freeciv/freeciv-2.6.0-beta0.tar.bz2 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 8:12 pm
				by Corbeau
				Ok, I just downloaded it, thanks.
			 
			
					
				Re: Installing FreeCiv from Linux repository
				Posted: Mon Jun 19, 2017 9:15 pm
				by Corbeau
				That thing (2.5.7)  isnt' really working as it should, but I assume it's just because it's a "build", not an installation? Tried loading an old game (huge, 50 AIs and roughly 50k tiles) and it stopped responding after a while.