Error while compiling Mplayer

Hi,

I’d like to compile mplayer and mencoder on Haiku.
I download the source, open terminal in source directory, run “configure” command and i obtain this error:

Detected operating system: Haiku
Detected host architecture: UNKNOWN
Checking for cross compilation ... no 
Checking for host cc ... cc 
The architecture of your CPU (UNKNOWN) is not supported by this configure script
It seems nobody has ported MPlayer to your OS or CPU type yet.

Error: unsupported architecture UNKNOWN

If i run “uname -p” i get also unknown architecture. Why? And how i can resolve this issue?

Thanks in advance.

Haikuporter (http://ports.haiku-files.org/) has a .bep for MPlayer, but don’t get excited, it’s broken and doesn’t compile anyway as of now.

About the architecture stuff, you have to launch “configure” with the “–arch=x86” parameter. (Or something like that…)

Nothing to do. Is “unknown command”.
In anyway i’ll keep on using the release available on haikuware.

Thank you!

Why do you use mplayer on Haiku? Is mplayer better than MediaPlayer?

Thank you.

Hi,

I’d like compiling a new mplayer just for using “mencoder” part, due to the fact that current mencoder doesn’t work.
And sure: MediaPlayer is far better than mplayer, considering wich also has a GUI :slight_smile:

Best regards.

This might help:
https://github.com/diger/hpkgsrc/blob/diger/multimedia/mplayer-share/patches/patch-configure