[MPlayer-users] mplayer for solaris 10 X86

Luc I. Suryo luc at suryo.com
Mon Jun 11 17:16:32 CEST 2007



> I am trying to compile Mplayer and Mozilla plugin for Solaris 10 X86 and 
> i am having a lot
> of problems....
> 
> Please any info doc about this ?

I donot believe the plugin will compile clean, the player should,
however you will need several libraries tobe compiled and installed
first, depand on the option yu using; here is the one I use..

	The libmad MPEG audio decoder library
	The Theora video codec library
	The LAME Encoder library and utility
	The PNG Library
	The New Curses Library
	The ungif Library
	The Freetype Library v2
	The Simple DirectMedia Layer libraries

and then you need the codecs too, and also use GCC and not Sun Studio,
the code has to many GCC dependancy

	get the svn version, so you will need subversion!
	svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
	svn update

then here what I use to configure the sources, with the codex under
/usr/local/lib/codecs

------------------------------------

MYGCCLAGS="-O -march=opteron -mtune=opteron -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export MYGCCLAGS

CC=/usr/sfw/bin/gcc \
CXX=/usr/sfw/bin/g++ \
CFLAGS="${MYGCCLAGS} -I/usr/local/include -I/usr/X11/include"      \
CXXFLAGS="${MYGCCLAGS} -I/usr/local/include -I/usr/X11/include"     \
LDFLAGS="-s -march=opteron -mtune=opteron -R/usr/X11/lib:/usr/local/lib -L/usr/X11/lib -L/usr/local/lib -lxvidcore -lsocket -lnsl"      \
./configure     \
 --disable-debug \
 \
 --prefix=/usr/local \
 --confdir=/usr/local/etc/mplayer \
 --datadir=/usr/local/share/mplayer \
 \
 --as=/usr/sfw/bin/gas \
 \
 --libdir=/usr/local/lib/codecs \
 --codecsdir=/usr/local/lib/codecs \
 --win32codecsdir=/usr/local/lib/codecs \
 --xanimcodecsdir=/usr/local/lib/codecs \
 --realcodecsdir=/usr/local/lib/codecs \
 \
 --with-extraincdir=/usr/local/include:/usr/X11/lib \
 --with-extralibdir=/usr/local/lib \
 --enable-gui \
 --enable-largefiles \
 --enable-xv \
 --enable-xvmc \
 --disable-vm \
 --enable-x11 \
 \
 --enable-dvdread
------------------------------------

and a: gmake ; gmake install




success, oh ja i have a packagee avaiable at ftp://ftp.patriots.net,
remember to get the dependancy libraries

-ls



More information about the MPlayer-users mailing list