Whether you run it from the build directory or have done the installation shouldn't affect stability. But it can be that something bad happens because the 2.5.7 build finds some files from your installed 2.5.1 version.Corbeau wrote:I assume it's just because it's a "build", not an installation?
Installing FreeCiv from Linux repository
Re: Installing FreeCiv from Linux repository
Re: Installing FreeCiv from Linux repository
About the optional dependencies; to get sound working in freeciv-2.5 install libsdl-mixer1.2-dev and rerun configure (and 'make'). To get it working in freeciv-2.6 and later, libsdl2-mixer-dev is needed.
Re: Installing FreeCiv from Linux repository
I don't use sounds.
Also, I uninstalled 2.5.1. together with the server, and still couldn't load it. I'll try starting another game.
(Not that it matters, that load is old, not planning to continue with it.)
Also, I uninstalled 2.5.1. together with the server, and still couldn't load it. I'll try starting another game.
(Not that it matters, that load is old, not planning to continue with it.)
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Installing FreeCiv from Linux repository
Lesson 3: Building sdl2-client of S2_6. It's a new client in S2_6. Both S2_5 and S2_6 have older sdl-client.
Code: Select all
> sudo apt-get install libsdl2-gfx-dev libsdl2-image-dev libsdl2-ttf-dev
> mkdir sdl2
> cd sdl2
> ../freeciv-2.6.0-beta0/configure --enable-debug --enable-client=sdl2
> make
> ./fcgui
Re: Installing FreeCiv from Linux repository
Ok, what exactly is the difference between a "build" and an "installation"?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Installing FreeCiv from Linux repository
The location of the files. "Installing" software is just putting files in specific locations (often under /usr on Linux). If you can't start your build from the application menu, that's because you didn't install it. That's the most important difference I can think of (except that Freeciv needs to find all of its files, but making everything work fine is the job of the developers).Corbeau wrote:Ok, what exactly is the difference between a "build" and an "installation"?
Louis
Re: Installing FreeCiv from Linux repository
...so, if I simply move the "build" to /usr it will be "installed"?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Installing FreeCiv from Linux repository
No, the directory structure is different. You can install the build with 'sudo make install', but I don't recommend that since it installs files to your system directories outside your package manager's knowledge, which may cause problems when you try to install or uninstall (other) software the usual way, and there's no easy way to get them cleaned out again.Corbeau wrote:...so, if I simply move the "build" to /usr it will be "installed"?
The main differences between running from the build directory and install directories are all related to how files are found. When installed:
- Client finds server to run even when not configured with --enable-debug
- Translations are found (-> localization works)
- If support for loadable AI modules is built in (not by default), the modules are found even when not configured with --enable-debug
Of these, localization support is one that matters. To get it working without messing system directories you can install to location other than system directories. Configure with --prefix=/path/to/installation/root/
Code: Select all
> ../freeciv-2.5.7/configure --prefix=/home/cazfi/freeciv/install --enable-client=gtk3
> make
> make install
> /home/cazfi/freeciv/install/bin/freeciv-gtk3
Re: Installing FreeCiv from Linux repository
Now that freeciv git repository is online; let's setup build environment from git.
Unfortunately Linux Mint 17 git is so old it does not have 'worktree' feature, which is used in my usual setups. So this is a bit restricted setup:
Unfortunately Linux Mint 17 git is so old it does not have 'worktree' feature, which is used in my usual setups. So this is a bit restricted setup:
Code: Select all
> sudo apt-get install git
> cd freeciv
> git clone https://github.com/freeciv/freeciv.git git
> cd git
> git checkout S2_5
> ./autogen.sh --no-configure-run
> cd ..
> mkdir build-gtk3
> cd build-gtk3
> ../git/configure --enable-debug --enable-client=gtk3
> make
> ./fcgui
Re: Installing FreeCiv from Linux repository
To get the latest changes and to rebuild with them:
Code: Select all
> cd freeciv/git
> git pull
> cd ../build-gtk3
> make