(info] building 1.14 with ubuntu
Moderator: Forum Moderators
(info] building 1.14 with ubuntu
Greetings to all the team and thanks for the job
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
then the git repository
to launch the game from wesnoth-1.14
to update later
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
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
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
Code: Select all
./wesnoth
Code: Select all
cd wesnoth-1.14
git pull
scons
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
Re: (info] building 1.14 with ubuntu
hello,
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?
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: 1308
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
Re: (info] building 1.14 with ubuntu
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.
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.
Speak softly, and carry Doombringer.
-
- Posts: 65
- Joined: June 18th, 2018, 8:14 am
- Location: Russia
- Contact:
Re: (info] building 1.14 with ubuntu
Are you sure that you need install LLibssl-dev? I think the right name of package is libssl-dev. (On ubuntu 19.04 its' name is libssl-dev) Please, edit post.phocasbyz wrote: ↑May 12th, 2018, 4:16 pmCode: 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
Creator of The World of Death RPG, maintainer of Soldier of Wesnoth
Re: (info] building 1.14 with ubuntu
That correction has already been done in the Wiki page, and Wesnoth has been fixed for building with more recent versions of Boost. Thanks for the correction, but I think it's better to assume this thread is out-of-date compared to the Wiki.