SDL Problem with MDK 9.2

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
kittykat

SDL Problem with MDK 9.2

Post by kittykat »

I tried compiling from the source but I get the following error to ./configure:

[root@localhost wesnoth-0.6.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for sdl-config... no
checking for sdl11-config... no
configure: error: *** SDL not found! Get SDL from http://www.libsdl.org.
If you already installed it, check it's in the path. If problem remains,
please send a mail to the address that appears in ./configure --version
indicating your platform, the version of configure script and the problem.
[root@localhost wesnoth-0.6.1]# exit

However a check with RPMDrake reveals that I have the following SDL files installed:

libSDL_gfx8-2.0.8-1mdk
libSDL_image1.2-1.2.3-3mdk
libSDL_mixer1.2-1.2.5-3mdk
libSDL_net1.2-1.2.5-2mdk
libSDL_ttf2.0-2.0.6-3mdk
perl-SDL-1.20.0-6mdk

How can I get this to compile properly?

System:

MDK 9.2
Athlon TBird 1GHz
1Gb RAM
NVidia GF420MX
SB 16
etc...

Thanks
Sofronius
Posts: 50
Joined: November 6th, 2003, 11:14 am
Location: Czech Republic
Contact:

Re: SDL Problem with MDK 9.2

Post by Sofronius »

kittykat wrote::

libSDL_gfx8-2.0.8-1mdk
libSDL_image1.2-1.2.3-3mdk
libSDL_mixer1.2-1.2.5-3mdk
libSDL_net1.2-1.2.5-2mdk
libSDL_ttf2.0-2.0.6-3mdk
perl-SDL-1.20.0-6mdk
It seems to me that you don't have SDL installed. These names looks like names of various additions to core SDL library. Have you tried to install something like libSDL_1.2-... ?

Anyway, it's queer if you have installed only parts of SDL.

But I am not Mandrake expert.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

You must have SDL development libraries installed to compile from source. It seems that although you have the libraries installed, you don't have the development libraries installed (i.e. SDL-devel as well as SDL, etc).

David
kittykat

Forgot one entry...

Post by kittykat »

I do have SDL installed, it just didn't get included in the paste.

libSDL1.2-1.2.5-12mdk
kittykat

Devel SDL rpm does not change situation

Post by kittykat »

I installed

libSDL1.2-devel-1.2.5-12mdk

and still no luck
miyo
Posts: 2201
Joined: August 19th, 2003, 4:28 pm
Location: Finland

Post by miyo »

Here you can see that for about every SDL RPM-package there is also devel RPM package:

http://rpmfind.net/linux/rpm2html/searc ... rake&arch=

Or you can just get the Wesnoth Mandrake RPMS:

http://rpmfind.net/linux/rpm2html/searc ... mit=Search+...

- Miyo
kittykat

All set

Post by kittykat »

Thanks! the rpm works good.
ziberpunk

Re: Devel SDL rpm does not change situation

Post by ziberpunk »

kittykat wrote:I installed

libSDL1.2-devel-1.2.5-12mdk

and still no luck
With this package installed you get exactly the same error, or another one?
Post Reply