SDLttf missing, but present

Hi I’m trying to install Battle for Wesnoth. I tried posting on the forum over
there for help but no luck. I read through the FAQ and it said to send my
problem out over the mailing list. When I run ./configure I get this error:


checking for TTF_OpenFont in -lSDL_ttf… no
configure: error: *** SDL_ttf lib not found! Get SDL_ttf from
http://www.libsdl.org/projects/SDL_ttf/index.html

The only thing I can think of is to uninstall SDL completely and re-install it.
The standard libraries came with my Mandrake 10.0 installation and I installed
the devel rpms myself. However if I uninstall SDL rpms I have dependent packages
that also must be uninstalled, and I want to avoid that. When I try to install a
rpm over an existing RPM, it won’t let me because of the existing installation.

For your convience, here are my installed SDL RPMs:

$ rpm -qa | grep SDL
libSDL_net1.2-1.2.5-2mdk
SDL_image-devel-1.2.3-1
SDL_ttf-devel-2.0.6-1
libSDL_mixer1.2-1.2.5-3mdk
perl-SDL-1.20.0-8mdk
SDL_net-devel-1.2.5-1
libSDL1.2-1.2.7-2mdk
libSDL_gfx10-2.0.10-1mdk
SDL_mixer-devel-1.2.5-1
libSDL_image1.2-1.2.3-3mdk
libSDL_ttf2.0-2.0.6-4mdk
SDL-devel-1.2.7-1

And here are the requested command outputs:

$ which sdl-config
/usr/bin/sdl-config

$ sdl-config --version
1.2.7

$ locate libSDL
/usr/share/doc/libSDL1.2-1.2.7
/usr/share/doc/libSDL1.2-1.2.7/README-SDL.txt
/usr/share/doc/libSDL1.2-1.2.7/BUGS
/usr/share/doc/libSDL1.2-1.2.7/COPYING
/usr/share/doc/libSDL1.2-1.2.7/CREDITS
/usr/share/doc/libSDL_mixer1.2-1.2.5
/usr/share/doc/libSDL_mixer1.2-1.2.5/COPYING.LESSER
/usr/share/doc/libSDL_mixer1.2-1.2.5/AUTHORS
/usr/share/doc/libSDL_mixer1.2-1.2.5/COPYING
/usr/share/doc/libSDL_mixer1.2-1.2.5/README
/usr/share/doc/libSDL_mixer1.2-1.2.5/FAQ
/usr/share/doc/libSDL_image1.2-1.2.3
/usr/share/doc/libSDL_image1.2-1.2.3/COPYING
/usr/share/doc/libSDL_net1.2-1.2.5
/usr/share/doc/libSDL_net1.2-1.2.5/CHANGES
/usr/share/doc/libSDL_net1.2-1.2.5/README
/usr/share/doc/libSDL_ttf2.0-2.0.6
/usr/share/doc/libSDL_ttf2.0-2.0.6/COPYING
/usr/share/doc/libSDL_ttf2.0-2.0.6/README
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.0.7.0
/usr/lib/libSDL_mixer-1.2.so.0.2.3
/usr/lib/libSDL_mixer-1.2.so.0
/usr/lib/libSDL_image-1.2.so.0
/usr/lib/libSDL_image-1.2.so.0.1.2
/usr/lib/libSDL_net-1.2.so.0
/usr/lib/libSDL_net-1.2.so.0.0.5
/usr/lib/libSDL_ttf-2.0.so.0
/usr/lib/libSDL_ttf-2.0.so.0.6.0
/usr/lib/libSDL_gfx.so.10.0.0
/usr/lib/libSDL_gfx.so.10
/usr/lib/libSDLmain.a
/usr/lib/libSDL.a
/usr/lib/libSDL.la
/usr/lib/libSDL.so
/usr/lib/libSDL_image.a
/usr/lib/libSDL_image.so
/usr/lib/libSDL_mixer.a
/usr/lib/libSDL_mixer.so
/usr/lib/libSDL_net.a
/usr/lib/libSDL_net.so
/usr/lib/libSDL_ttf.a
/usr/lib/libSDL_ttf.la

$ tail config.log
#define PACKAGE_NAME “wesnoth”
#define PACKAGE_STRING “wesnoth 0.13”
#define PACKAGE_TARNAME “Battle for Wesnoth”
#define PACKAGE_VERSION “0.13”
#define VERSION “0.7”
#endif
#ifdef __cplusplus

Thank you for any help you can give me. I’ve really worked hard to try and get
this to work by myself. Also I’m new to Linux so if its something really obvious
please don’t flame me :slight_smile:

  • Tyler

When I try to install a rpm over an existing RPM, it won’t let me because
of the existing installation.

Welcome to rpm hell. This is why I and many others don’t use rpms. If you
want to install over an existing installation, use the force Luke:

rpm -i --nodeps --force

If you do so, however, you may end up with an unstable system. Better to
build everything from source files :wink:

JeffOn Monday 22 March 2004 08:47 pm, Tyler Olsen wrote:

When I try to install a rpm over an existing RPM, it won’t let me because
of the existing installation.

Welcome to rpm hell. This is why I and many others don’t use rpms. If you
want to install over an existing installation, use the force Luke:

rpm -i --nodeps --force

You should never do that.

If you do so, however, you may end up with an unstable system. Better to
build everything from source files :wink:

Or, alternatively, know your system package manager and use it :

urpmi libSDL_ttf-devel

Stephane