(info] building 1.14 with ubuntu

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderators: Forum Moderators, Developers

Post Reply
Posts: 12
Joined: February 4th, 2018, 12:31 pm

(info] building 1.14 with ubuntu

Post by phocasbyz » May 12th, 2018, 4:16 pm

Greetings to all the team and thanks for the job :Awesome:

after some tries i was able to build the new 1.14
maybe this could help to improve https://wiki.wesnoth.org/CompilingWesnoth

install made under xubuntu 18.04 bionic beaver

you need some new dependencies at first

Code: Select all

 sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libboost-all-dev libcairo2-dev libvorbis-dev libcairo2-dev libpango1.0-dev llibssl-dev 
 sudo apt install scons
then the git repository

Code: Select all

 mkdir wesnoth-1.14
git clone --branch 1.14 --depth 1 https://github.com/wesnoth/wesnoth.git wesnoth-1.14
cd wesnoth-1.14
scons --config=force 
to launch the game from wesnoth-1.14

Code: Select all

to update later

Code: Select all

    cd wesnoth-1.14
    git pull

by the way i had some problems with the libboost that raised scons error
in fact i had 2 versions , the 1.65 from recent upgrade
the 1.62 that was set to "manual" probably from an ancient 1.13 bulding

it was better after clearing the 1.62

Code: Select all

 > dpkg -l | grep libboost
ii  libboost-test1.65.1:amd64              1.65.1+dfsg-0ubuntu5                  amd64        components for writing and executing test suites
ii  libboost-thread1.65.1:amd64            1.65.1+dfsg-0ubuntu5                  amd64        portable C++ multi-threading
ii  libboost-test1.62.1:amd64              1.62.1+dfsg-0ubuntu5                  amd64        components for writing and executing test suites
ii  libboost-thread1.62.1:amd64            1.62.1+dfsg-0ubuntu5                  amd64        portable C++ multi-threading

User avatar
Posts: 54
Joined: March 30th, 2008, 7:06 am
Location: dago

Re: (info] building 1.14 with ubuntu

Post by SatHyre » May 19th, 2018, 6:40 pm

i have followed your instructions and the game is installed. thanks.
you wrote "to update later" : does it mean that these commands uninstall 1.14.1 and install 1.14.2?

Posts: 44
Joined: August 26th, 2018, 11:46 pm

Re: (info] building 1.14 with ubuntu

Post by white_haired_uncle » September 21st, 2018, 8:41 am

I just installed 1.14.4 on ubuntu 18.04.1 LTS.

Ran into an issue where scons didn't think libvorbisfile was installed, when it was. It turns out there was a link missing. I don't think this is a wesnoth issue, but I'll add the fix here in case it helps someone.

$ sudo ln -s libvorbisfile.so /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.7

NOTE: Use this workaround at your own peril. That link should, IMO, be created by the libvorbisfile package, not by you and me. I don't know what will happen in the future when the package is upgraded. Also, if you're reading this in the future (and, technically, you are) 3.3.7 may not be the right version for you.

Post Reply