Error while compiling Mplayer

Forum thread started by Giova84 on Wed, 2012-05-02 16:24

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.

Comments

Re: Error while compiling Mplayer

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...)

Re: Error while compiling Mplayer

Nothing to do. Is "unknown command".
In anyway i'll keep on using the release available on haikuware.

Thank you!