Problem with ./configure in Ubuntu 8.10
Moderator: Forum Moderators
Problem with ./configure in Ubuntu 8.10
I am using Ubuntu 8.10, and when I unpacked the tarball for 1.6.1 and tried to use ./configure, I got the usual output of the command (checking this, checking that), until it ran into the following error and stopped:
It then returned me to the shell prompt. I suppose that I should tell you that the first time I tried to use the command
I realized that it would take several hours, and that I didn't have that kind of battery life left in the laptop (I was sitting outside the local library and using their wi-fi), so I interrupted the download. Later, I used the same command when I had access to a high-speed wired connection. My two questions are: (1) "Could this interruption be the problem?" and (2) "Whatever the answer to the first question is, how do I get Wesnoth up and running?"
Your help in solving this problem would be greatly appreciated.
Code: Select all
Checking for SDL - version >= 1.2.7 and SDL_ttf - version >= 2.0.8... no
configure: error: *** Please upgrade your SDL and/or SDL_ttf version
Code: Select all
sudo apt-get build-dep wesnoth
Your help in solving this problem would be greatly appreciated.
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: Problem with ./configure in Ubuntu 8.10
Ubuntu 8.10 has wesnoth 1.4 which doesn't depend on SDL_ttf, build-dep won't fetch it. So you'll need to apt-get it manually:
Code: Select all
sudo apt-get install libsdl-ttf2.0-dev
"meh." - zookeeper
Re: Problem with ./configure in Ubuntu 8.10
Beside this there are several other dependencies that you won't fetch when getting the build dependencies for 1.4. Just have a look at this page in the wiki for a list of all dependencies that you really need.
Re: Problem with ./configure in Ubuntu 8.10
Are there any handy shortcuts to getting any of those dependencies, or must I download and compile them individually?
Either way, I am going to try to get it working tomorrow.
Either way, I am going to try to get it working tomorrow.
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: Problem with ./configure in Ubuntu 8.10
All dependencies can be installed with sudo apt-get install.
EDIT:
EDIT:
Code: Select all
sudo apt-get install libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libboost-iostreams-dev libboost-regex-dev libpango1.0-dev libfontconfig-dev liblua5.1-dev
"meh." - zookeeper
Re: Problem with ./configure in Ubuntu 8.10
It works now
Thanks, guys!
Thanks, guys!