LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1096|回复: 5

mplayer还是装不上,提示如下

[复制链接]
发表于 2008-4-29 13:53:39 | 显示全部楼层 |阅读模式
[root@localhost ~]# /home/wind_133/Download/MPlayer-1.0rc2/configure --prefix=/usr/local/mplayer --enable-gui --codecsdir=/usr/lib/codecs --win32codecsdir=/usr/lib/win32 --language=zh_CN
sed: can't read libavcodec/allcodecs.c: No such file or directory
sed: can't read libavcodec/allcodecs.c: No such file or directory
sed: can't read libavcodec/allcodecs.c: No such file or directory
sed: can't read libavcodec/allcodecs.c: No such file or directory
sed: can't read libavformat/allformats.c: No such file or directory
sed: can't read libavformat/allformats.c: No such file or directory
sed: can't read libavformat/allformats.c: No such file or directory
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.2, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (15:107:2)
Checking for CPU type ...  AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... k8
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.17.50.0.12) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.21-1.3194.fc7, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... zh_CN not found,
Error: help/help_mp-en.h not found
请问是怎么回事?
发表于 2008-4-29 15:42:17 | 显示全部楼层
是enable-gui的问题吧,还是yum吧
1、安装livna 源

[root@FedoraTest ~]#rpm -ivh http://rpm.livna.org/livna-release-8.rpm

2、安装 mplayer

[root@FedoraTest ~]#yum install mplayer mplayer-gui mplayer-fonts mplayerplug-in mencoder compat-libstdc++-33    (我就装了mplayer mplayer-gui)

3、安装 codecs 去 http://www.mplayerhq.hu/MPlayer/releases/codecs/ 下载 all-20071007.tar.bz2

[root@FedoraTest ~]#mkdir -p /usr/lib/codecs

[root@FedoraTest ~]#tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/lib/codecs/
回复 支持 反对

使用道具 举报

发表于 2008-4-29 16:23:49 | 显示全部楼层
--language=zh_CN
这个定制选项不行
回复 支持 反对

使用道具 举报

发表于 2008-4-29 18:00:38 | 显示全部楼层
/home/wind_133/Download/MPlayer-1.0rc2/configure --prefix=/usr/local/mplayer --enable-gui --codecsdir=/usr/lib/codecs --win32codecsdir=/usr/lib/win32试下。推荐还是yum吧。可样比较好。装完之后再装一个解码包,然后装kplayer或者smplayer(个人推荐)。万事大吉。
回复 支持 反对

使用道具 举报

发表于 2008-4-29 23:35:43 | 显示全部楼层
./configure --enable-gui --enable-menu --enable-freetype --enable-largefiles --charset=utf8 --language=zh_CN --codecsdir=/usr/lib/codecs
这个应该不会出问题。。
我一直都是这样编译安装的。
回复 支持 反对

使用道具 举报

发表于 2008-4-30 09:58:23 | 显示全部楼层
不要再装MPLAYER了。我装好了一样有问题。

还是直接装REALPLAYER 11 FOR LINUX吧。试一下,相信会给你惊喜的。。起码FC8支持的很好。
回复 支持 反对

使用道具 举报

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

本版积分规则

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