|
|
2. 安装code
tar vjxf essential-20050412.tar.bz2
mv essential-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*
mv win32codecs /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*
3.安装MPlayer
tar vjxf MPlayer-1.0pre5.tar.bz2
cd MPlayer-1.0pre5
[zylinux@localhost ~]sudo ./configure --prefix=/usr/local/mplayer/ --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/ --disable-gcc-checking --language=zh_CN
出现拉如下错误
Config files successfully generated by ./configure !
Install prefix: /usr/local/mplayer/
Data directory: /usr/local/mplayer//share/mplayer
Config direct.: /usr/local/mplayer//etc/mplayer
Byte order: Little Endian
Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr
Languages:
Messages/GUI: en
Manual pages: en (no localization selected, use --language=all)
Enabled optional drivers:
Input: ftp network edl tv matroska(internal) mpdvdkit2 vcd dvb smb
Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib libvorbis gif
Audio output: alsa oss sdl mpegpes(dvb)
Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(dvb) opengl dga xv x11 xover tga
Disabled optional drivers:
Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com cdda dvdread
Codecs: opendivx xvid libdv libtheora libmad liblzo
Audio output: sgi sun jack esd arts dxr2 nas win32 macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx fbdev svga caca aa ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx quartz
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/devices.html#mtrr)
Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
请高手尽快回复谢谢 |
|