QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2081|回复: 1

install mplayer

[复制链接]
发表于 2006-12-20 11:01:08 | 显示全部楼层 |阅读模式
我的系统是Red Hat9.0,内核2.4.8的,gcc是3.2.3的
下载了以下包:
MPlayer-1.0pre8.tar.tar,all-20061022.tar.tar,windows-all-20061022.zip,Blue-1.6.tar.tar,
gb2312-ming.tar.bz2
装之前按照网上说的也装了相应的XFree86-devel,libpng,libpng-devel,gtk和
gtk-devel(要求版本大于1.2)这5个软件,只是装gtk和gtk-devel时说和gtk+-1.2.10-25有冲突,没有装上,我查了一下,我装系统带了gtk+-1.2.10-25包.
解码器装完再解压MPlayer-1.0pre8.,然后进到解压目录中作以下操作:
./configure --prefix=/usr/local --enable-gui --enable-live --enable-menu --enable-freetype --enable-fontconfig --enable-win32 --enable-dshow --enable-real --enable-divx4linux --enable-xvid --disable-arts --language=zh_CN --enable-dynamic-plugins --with-codecsdir=/usr/local/lib/codecs --with-win32libdir=/usr/local/lib/wincodecs --with-reallibdir=/usr/local/lib/codecs --with-livelibdir=/usr/local/lib/live --with-freetype-config=/usr/bin/freetype-config --cc=gcc

Config files successfully generated by ./configure !

Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer

Byte order: little-endian
Optimizing for: pentium4 mmx mmxext sse sse2 mtrr

Languages:
Messages/GUI: zh_CN
Manual pages: en

Enabled optional drivers:
Input: ftp network tv-v4l tv live555 cdda mpdvdkit2 vcd smb
Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) gif
Audio output: esd oss sdl mpegpes(file)
Video output: xvidix cvidix sdl gif89a md5sum pnm jpeg png mpegpes(file) fbdev opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream tv-v4l2 tv-bsdbt848 dvdread dvb
Codecs: opendivx x264 xvid libdv amr_wb amr_nb faac musepack libdts libtheora speex twolame toolame libmad liblzo
Audio output: sgi sun alsa openal jack polyp arts dxr2 nas dsound win32
Video output: winvidix bl zr zr2 dxr3 dxr2 directx vesa svga caca aa ggi xmga mga xvmc directfb tdfx_vid s3fb tdfxfb 3dfx
Audio filters: ladspa

'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/video.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-* options
(except --enable-gui and maybe --enable-debug).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.



make
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/cdda -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I./libavutil -I./libavcodec -o subopt-helper.o subopt-helper.c
make -C libfaad2
make[1]: Entering directory `/home/mplayer/MPlayer-1.0pre8/libfaad2'
gcc -c -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o ps_dec.o ps_dec.c
ps_dec.c: In function `ps_decorrelate':
ps_dec.c:1843: unable to find a register to spill in class `FLOAT_REGS'
ps_dec.c:1843: this is the insn:
(insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382])
(subreg:SF (reg/vI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil)
(nil))
ps_dec.c:1843: confused by earlier errors, bailing out
make[1]: *** [ps_dec.o] Error 1
make[1]: Leaving directory `/home/mplayer/MPlayer-1.0pre8/libfaad2'
make: *** [libfaad2/libfaad2.a] Error 2
每次到这里就出错
不知道该如何解决.
请各位大侠指点一下.
谢了 ~~~
发表于 2006-12-20 18:40:54 | 显示全部楼层
升级你的系统,不然就不要问别人,现在还用 RH 9 的人都能自己动手解决任何问题。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-29 21:33 , Processed in 0.150587 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表