Results 1 to 4 of 4
Hi.
I am running Mandrake 10.1 kernel 2.6.9 and I have a problem with alsa:
When I compile MPlayer it tells me that asoundlib.h is missing and therefore Mplayer wouldn't ...
- 05-05-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 2
Missing asoundlib.h
Hi.
I am running Mandrake 10.1 kernel 2.6.9 and I have a problem with alsa:
When I compile MPlayer it tells me that asoundlib.h is missing and therefore Mplayer wouldn't include alsa-support.
Alsa is installed and is "working" - this works: aplay -Dplug:spdif test.wav
I must be missing something.
Thanks.
/peter
- 05-05-2005 #2
Mplayer is looking for a 'header' file, which is just part of a C programme.
I really hate Mplayer sometimes, but I won't bog you down with that
Try opening a console - These are gonna be fairly generic instructions:
su
yourpassword
find / -name asoundlib.h -print
That'll tell you if this file *is* on your system. As I said on another thread, in my experience pre-compiled binaries often look for files in fixed locations. So Mplayer might expect that file to be somewhere different.
If you do have the header file, it'll belong in a directory called /includes somewhere on your system. To jump ahead (a lot) compiling mplayer from source can be painful, but you shouldn't need to do that. You might need to move your header file with the mv command. Try man mv in a console.I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
- 05-05-2005 #3Just Joined!
- Join Date
- May 2005
- Posts
- 2
Thanks for your reply.
I figured it out:
urpmi alsa-lib-devel
Then mplayer compiles with alsa-support.
/Peter
- 05-05-2005 #4
Well done - red hot!
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso


Reply With Quote
