Linux 1.12
Moderator: Forum Moderators
-
- Posts: 10
- Joined: November 28th, 2014, 12:50 am
Re: Linux 1.12
you guys are great ill try it now. if i get any errors ill troubleshoot but if i cant do it ill come back to this thread. Thanks again!!!
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Linux 1.12
Moved, since the thread is about compiling Wesnoth.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Linux 1.12
http://www.ubuntuupdates.org/package/ge ... snoth-1.12
There we have one easy possibility to get binary packages.
There we have one easy possibility to get binary packages.
Re: Linux 1.12
for Debian/Ubuntu (terminal):
wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo add-apt-repository "deb http://archive.getdeb.net/ubuntu/ trusty-getdeb games"
sudo apt-get update
sudo apt-get install wesnoth-1.12
wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo add-apt-repository "deb http://archive.getdeb.net/ubuntu/ trusty-getdeb games"
sudo apt-get update
sudo apt-get install wesnoth-1.12
Re: Linux 1.12
I would first tryNobun wrote:To devs:
how can I forse scons to use -m32 flag? I wanted to try to build also the 32bit version
Code: Select all
scons CXXFLAGS="-m32"
-
- Posts: 10
- Joined: November 28th, 2014, 12:50 am
Re: Linux 1.12
Nobun for you and all linux users I can recommend an interesting way to do stuff. Use Vbox (Virtual Box) and you can create linux, windows, and mac computers in that program and store them on your hard drive. Then you can plug them in and boot them up and you can use them for many thing linux is incapable of doing.
Re: Linux 1.12
Hey Crow_T! Thank you! I followed your noob guide and was successful. I can now play the latest version of Wesnoth on my Crunchbang laptop.Crow_T wrote:If you are very new to using the terminal, I will give some extra instructions:iceiceice wrote:Okay, the official page is here, but since you said you are on Ubuntu here is a simplified version which is basically what I would suggest:
If that doesn't work then I would look at the error messages and try to corroborate it with the official instructions page.
- Download the source code and extract it. Then navigate your terminal to the place where you extracted it.
- Execute the following commands to get the wesnoth 1.12 library dependencies:
Code: Select all
sudo apt-get build-dep wesnoth sudo apt-get install libboost-all-dev
- Try to compile the source code using scons. You just have to type
If you don't have scons, you might need to doCode: Select all
scons
first.Code: Select all
sudo apt-get install scons
- Launch the game by typing "wesnoth" or "./wesnoth"
"Download the source code and extract it. Then navigate your terminal to the place where you extracted it."
First part is easy, download the source and extract it. Next, open up the terminal, type cd and a space, then drag the extracted wesnoth source folder into the terminal window and hit enter. Now the commands you type will affect the wesnoth source folder.
"Launch the game by typing "wesnoth" or "./wesnoth" "
./wesnoth will only work once you have navigated to the wesnoth folder, after it has been compiled by scons, as I have mentioned above.
Good Luck! Building is easy once you've done it a couple of times!
I had neverd compiled any source before, but I have now thanks to you!
Re: Linux 1.12
Awesome, iceiceice did most of the heavy lifting in the guide though
Hopefully this knowledge will allow you to try out more programs in the future!
Hopefully this knowledge will allow you to try out more programs in the future!
Re: Linux 1.12
Ironically, I can't build 1.12 on Ubuntu 12.04- I keep getting this:
I installed the Boost Locale lib 1.48 via synaptic, still no luck. any ideas?
Code: Select all
Checking for Boost locale library... (cached) no
Re: Linux 1.12
If scons for some reason caches the wrong value, you can make it redo all the caches with
There should be some comment in the terminal along these lines when you use scons, but it's easy to overlook it.
Write back if that doesn't fix it though.
Code: Select all
scons --config=force
Write back if that doesn't fix it though.
Re: Linux 1.12
Thanks for the quick reply. It says "Checking for Boost locale library... no" very strange. Are the prerequisite packages the same since 1.10?
I've been building 1.10 and 1.11 on this machine for the past couple of years now.
Code: Select all
$ sudo apt-get build-dep wesnoth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'wesnoth-1.10' as source package instead of 'wesnoth'
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Re: Linux 1.12
Hmm... Well I wrote part of the scons check for boost locale, it's possible that I made a mistake. I thought that I tested it with boost locale 1.48 though.
You could try going to
and deleting the entire line
This line speeds up the check by only looking for a specific header file, but if in your version of boost locale that header doesn't exist then the check will fail when it shouldn't. (I *think* this header should be there but I did mess this up once before: https://github.com/wesnoth/wesnoth/comm ... 1ef3848d31)
You could try going to
scons/boost.py
to this line: https://github.com/wesnoth/wesnoth/blob ... ost.py#L63and deleting the entire line
"locale" : "locale/info.hpp",
This line speeds up the check by only looking for a specific header file, but if in your version of boost locale that header doesn't exist then the check will fail when it shouldn't. (I *think* this header should be there but I did mess this up once before: https://github.com/wesnoth/wesnoth/comm ... 1ef3848d31)
Re: Linux 1.12
oddly enough, I don't even have that line, this is what I have:
looks like random and locale are both gone. I downloaded it yesterday. Adding those into my file fails also. I wonder If I should just upgrade my OS...
Code: Select all
boost_headers = { "regex" : "regex/config.hpp",
"iostreams" : "iostreams/constants.hpp",
"unit_test_framework" : "test/unit_test.hpp",
"filesystem" : "filesystem/operations.hpp",
"system" : "system/error_code.hpp"}
Re: Linux 1.12
it looks like I didn't fully backport this part about locale to 1.12 anyways. I think that shouldn't cause any problems though...
https://github.com/wesnoth/wesnoth/blob ... s/boost.py
You could try *adding* the line instead I guess?
Anyways your file looks correct. If it's not working for you, I think most likely it's either a more general bug in our scons script of some kind, or a bug in your system. I don't have any good ideas about how to fix right now...
https://github.com/wesnoth/wesnoth/blob ... s/boost.py
You could try *adding* the line instead I guess?
Anyways your file looks correct. If it's not working for you, I think most likely it's either a more general bug in our scons script of some kind, or a bug in your system. I don't have any good ideas about how to fix right now...