Compiling Error no SDL (but installt)

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
siegfried
Posts: 6
Joined: January 6th, 2007, 1:42 pm

Compiling Error no SDL (but installt)

Post by siegfried »

Hi I have allready installt 1.2 on my ohn system Suse10.1
now I want to install that on my secont pc (used by my childrens)

By Configure I became ERROR

*********************************
ecking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
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.
**************************************************************************

There is SUSE 10.0
before there I have Installt Wesnot 1.0.2.
before I Install Vers.1.2 I remove that 1.0.2
I make the two links SDL.......so
I get the SDL-Mixer.tar.gz
Iget the SDL-image...tar.gz
unpack an copy
... I think all that wath is staying in Installat and "how to Compile"doku

So I want Install again Wesnoth 1.0.2 and I take the same masage?


pls. has anyone an Idea

grüße siegfried
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

Hi Siegfried,

Please read the compiling on Ubuntu page again and make sure you also install the development packages. If you install Wesnoth 1.0.2 again by compiling you'll get the same errors.

There are also pre-build Wesnoth 1.2 Suse packages http://www.wesnoth.org/wiki/WesnothBina ... F_OpenSUSE
siegfried
Posts: 6
Joined: January 6th, 2007, 1:42 pm

Post by siegfried »

Thanks for answer Skeleton

I think I have all SDL parts installt

SDL 1.2 ; SDL-mixer 1.2.6; SDL-Image and net

That RPM dont work ( I can not go online with this PC)

I have seen some document for Installing by ubuntu before, but now I can´t find that again.
pls can you give me an link

regards Siegfried
qk
Inactive Developer
Posts: 57
Joined: September 4th, 2006, 5:47 pm
Location: Prague, CZ
Contact:

Post by qk »

Do you have installed development version of that libraries? Exist two version of library, one is only for run and second is also ca be used for compiling.
User avatar
Iris
Site Administrator
Posts: 6798
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Post by Iris »

You've got to install the development SDL packages too.

They've almost the same name as runtime SDL packages. For example:
:arrow: SDL-1.2.rpm -> SDL-1.2-devel.rpm
:arrow: SDL-mixer-1.2.6 -> SDL-1.2.6-devel.rpm

And so on. Don't worry about their sizes, they usually contain only a few small C header files (small text files), and nothing more.
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

Here you are: http://www.wesnoth.org/wiki/CompilingWe ... ng_Wesnoth

make sure you also have installed the following packages: libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev gettext libfreetype6-dev
These are required for compiling Wesnoth.
siegfried
Posts: 6
Joined: January 6th, 2007, 1:42 pm

Post by siegfried »

Thanks for all that infos

lot complicat.

I´m few steps forwards now

I have compiled new all that SDL + mixer,image,net (configer,make & make install)
now stoppt the Configure of Wesnoth 1.2 with an error
"SDL_mixer has no OGG Support"

I have downloadet newest Version of SDL and mixer again and compilled
same Error

Ihave downloadet libvorbis and compilled
I have Installt again libogg and libogg-devel over yast

same Error "SDL_mixer has no OGG Support"

wath is missing??????

I trie now to search for libogg in www and trie to compile direct and hope it helps

I´m hopful that someone can help me . I work for install Wesnot1.2 now for the hole day (9hours) I´m so frustratet.

siegfried
qk
Inactive Developer
Posts: 57
Joined: September 4th, 2006, 5:47 pm
Location: Prague, CZ
Contact:

Post by qk »

it is verbose, you must have SDL compilated with OGG support. so if you compile SDL at own, you need have in SDL_mixer OGG suport. How add it? type ./configure --help and it say it. (often it is --with-ogg or --enable-ogg)
siegfried
Posts: 6
Joined: January 6th, 2007, 1:42 pm

Post by siegfried »

Thanks, but have done that before

I start with: "./configure --enable-ogg"

regards Siegfried
qk
Inactive Developer
Posts: 57
Joined: September 4th, 2006, 5:47 pm
Location: Prague, CZ
Contact:

Post by qk »

So if you do it, than problem can be if you have two version of SDL on your pc, f.e. oficial from suse repository and your own compiled, and it can be possible problem, because configure can try your official SDL.
siegfried
Posts: 6
Joined: January 6th, 2007, 1:42 pm

Post by siegfried »

Hello
I have updatet system suse10.0 up tu 10.1
after that same problem
I install all SDL + SDL_mixer .... --with-musik-ogg newest version.
same error "SDL_mixer has no OGG support"

Than I Install over yast that packages from wesnoth wath is inside that distribution from suse10.1 (Wesnoth 1.0.2)
and that work!! it is installt without any errors.

now I lat it like it is and forgot Vers 1.2 for the moment.

(wait on 1.3)

but by that way Thanks to all programmer for that fantastig game !!!!!!!!

Thanks to all Siegfried
lesiulodz
Posts: 7
Joined: January 8th, 2007, 12:00 am

Post by lesiulodz »

i tell you what i have done to game work properly:
i just installed every rpm package from section Prerequisites (also development packages) from here: http://www.wesnoth.org/wiki/CompilingWesnoth and i also have to install gcc package because i get that error: http://www.wesnoth.org/forum/viewtopic.php?t=14689 now game is running perfectly :wink: btw i`m using mandriva 2007 :wink:
Post Reply