Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 07:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Problem compiling programs with SDL mixer
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
JSonic


Joined: 21 Aug 2011
Posts: 37
Location: Finland

PostPosted: Tue 13 Sep 2011, 00:31    Post_subject:  Problem compiling programs with SDL mixer
Sub_title: Lucid Puppy 5.2.8
 

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.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Tue 13 Sep 2011, 01:30    Post_subject:  

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

Unfortunately I then get this one:

Code:
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?
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Tue 13 Sep 2011, 01:42    Post_subject:  

Maybe ask 666philb as he compiled v0.5.6 here.
Back to top
View user's profile Send_private_message 
JSonic


Joined: 21 Aug 2011
Posts: 37
Location: Finland

PostPosted: Tue 13 Sep 2011, 09:00    Post_subject:  

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


Thanks, this was the solution.
Editing as solved.

JSonic
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Tue 13 Sep 2011, 23:24    Post_subject:  

JSonic,

which lua packages did you need to use to bypass my lua problems above?
Back to top
View user's profile Send_private_message 
JSonic


Joined: 21 Aug 2011
Posts: 37
Location: Finland

PostPosted: Wed 14 Sep 2011, 08:31    Post_subject:  

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:
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.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Thu 15 Sep 2011, 02:02    Post_subject:  

Thanks for the extra info Jsonic.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0500s ][ Queries: 11 (0.0044s) ][ GZIP on ]