Problem compiling programs with SDL mixer

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
JSonic
Posts: 37
Joined: Sun 21 Aug 2011, 17:59
Location: Finland

Problem compiling programs with SDL mixer

#1 Post by JSonic »

Hello!
I have problems compiling applications, which need SDL_mixer library.
The libsdl-mixer1.2-dev package is installed, from ubuntu repo, but configure says (this is from Xmoto):

checking for SDL - version >= 1.0.0... checking for sdl-config... /usr/bin/sdl-config yes
checking for Mix_OpenAudio in -lSDL_mixer... no
configure: error: SDL_mixer required

I've tried with other programs as well and can't figure it out myself.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

If you install this SDL package here, you'll get past that error.

Unfortunately I then get this one:

Code: Select all

checking for library containing luaopen_math... no
./configure: line 366: test: liblualib50: integer expression expected
configure: error: liblualib5.1
./configure: line 263: return: liblualib50: numeric argument required
./configure: line 273: exit: liblualib50: numeric argument required
And then I'm lost...any lua experts around?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

Maybe ask 666philb as he compiled v0.5.6 here.

User avatar
JSonic
Posts: 37
Joined: Sun 21 Aug 2011, 17:59
Location: Finland

#4 Post by JSonic »

muggins wrote:If you install this SDL package here, you'll get past that error.
Thanks, this was the solution.
Editing as solved.

JSonic

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

JSonic,

which lua packages did you need to use to bypass my lua problems above?

User avatar
JSonic
Posts: 37
Joined: Sun 21 Aug 2011, 17:59
Location: Finland

#6 Post by JSonic »

muggins wrote:JSonic,

which lua packages did you need to use to bypass my lua problems above?
I made the lua package myself from Lua Binaries and you can download it from here. It solves lua problems.

But then, I ran into

Code: Select all

configure: error: libode required
That is solved by installing libode-dev from Ubuntu repository.

And now configure runs fine and I can get to compiling.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

Thanks for the extra info Jsonic.

Post Reply