I've compiled 32 bit mplayer successfully on x86_64 after some experimentation. Everything works well, and you can use the win32 codecs to play virtually any media file.
Install the required libraries prior to attempting the compile:
1. ia32-libs
2. libc6-dev-i386
3. g++-multilib
There may be a library I'm forgetting here, but configure will complain about it if there is something missing. If it complains about something and you can't figure it out, let me know and I'll try and decipher the error message for you.
Next, we need to go to the /usr/lib32 directory and make symlinks. For some reason, once the 32bit libs are installed, the correct symlinks are not made.
After that we can attempt the compile:Code:cd /usr/lib32 ln -s libX11.so.6 libX11.so ln libXv.so.1 libXv.so
If all goes well, execute:Code:CC="gcc -m32" \ ./configure --disable-runtime-cpudetection \ --target=i686-linux \ --libdir=/usr/lib32 \ --prefix=/usr/local \ --win32codecsdir=/usr/lib/win32 \ --enable-x11 \ --enable-xv
That should do it. You'll have to experiment with the video output configs for mplayer if you want something other than xv or X11 output. If, say, you want SDL output, you'll have to go into your /usr/lib32 dir and make the appropriate symlinks. But you get the idea...Code:make sudo make install mv /usr/local/bin/mplayer /usr/local/bin/mplayer32 mv /usr/local/bin/mencoder /usr/local/bin/mencoder32
I hope that helps.
hoarycripple



Adv Reply






Bookmarks