The sounds won't work
The sounds won't work
I have reinstalled my Ubuntu 16.04, and installed Freeciv GTK+ 2 version 2.5.3-1, and also installed the sounds from terminal with "sudo apt-get install freeciv-client-gtk freeciv-sound". It worked before, but now when I do this and turn the sounds on, it won't work.
Re: The sounds won't work
Maybe you have 'none' in Game -> Options -> Local Client -> Sound -> Sound Plugin? Change it to 'sdl', save settings, and restart client.
Re: The sounds won't work
No, I have changed it to "sdl", but I still have no sound.cazfi wrote:Maybe you have 'none' in Game -> Options -> Local Client -> Sound -> Sound Plugin? Change it to 'sdl', save settings, and restart client.
Re: The sounds won't work
Oh, I have found the solution! I have used the "sudo apt-get install freeciv-client-gtk freeciv-sound" code before, but it seems that it does not work anymore. I have found a new one. First "sudo apt update", and then "sudo apt install freeciv-sound-standard". Now I have a sound.
Re: The sounds won't work
Ran "sudo apt install freeciv-sound-standard", but still no sound. I suspect that it might have to do with the (absence) of the "sdl" plugin? The "sdl' plugin does not show up as a drop-down option. I have entered "sdl" manually to no effect. If the absence of "sdl" plugin is the problem, how is it installed.
I am running Ubuntu 16.04. I have freeciv version 2.6.0-beta3 installed.
I am running Ubuntu 16.04. I have freeciv version 2.6.0-beta3 installed.
Re: The sounds won't work
Have you compiled it yourself? If not, where you got it?Steve R. wrote:I am running Ubuntu 16.04. I have freeciv version 2.6.0-beta3 installed.
Re: The sounds won't work
Downloaded from here: http://www.freeciv.org/download.htmlcazfi wrote:Have you compiled it yourself? If not, where you got it?Steve R. wrote:I am running Ubuntu 16.04. I have freeciv version 2.6.0-beta3 installed.
Then followed the directions from this website: http://linuxg.net/how-to-install-freeci ... e-systems/
Re: The sounds won't work
...which is about compiling it yourself.Steve R. wrote:Then followed the directions from this website: http://linuxg.net/how-to-install-freeci ... e-systems/cazfi wrote: Have you compiled it yourself? If not, where you got it?
You probably have no libsdl2-mixer development files, so configure decides not to build sdl plugin. Try to install those before running configure.
Code: Select all
apt-get install libsdl2-mixer-dev
Re: The sounds won't work
Thanks. Ran
Then re-compiled the program. Just did a quick check and now have sound.
Code: Select all
apt-get install libsdl2-mixer-dev
Re: The sounds won't work
btw. I don't recommend that way of building and installing, since there's no easy way to uninstall. Even if you are fine having some version of freeciv permanently in your system, this can cause trouble also when "updating". If there are some files in the older version that are not in the newer version, those are left to the system when overwriting stuff with the new version. There has been some cases in the past where such leftover files with old (incompatible with current freeciv installation) file formats have caused problems.Steve R. wrote:Then followed the directions from this website: http://linuxg.net/how-to-install-freeci ... e-systems/
The way I recommend one to do compilations can be seen from http://forum.freeciv.org/f/viewtopic.php?f=8&t=89944