找回密码
 注册
楼主: knightqq

MPlayer安装成功了,同大家分享分享.

  [复制链接]
发表于 2004-12-29 11:28:10 | 显示全部楼层
我又重装了一遍,不过这次没有装字体,结果界面显示正常的英文。是不是装字体文件的时候有什么不对的地方。
回复

使用道具 举报

发表于 2004-12-29 12:57:02 | 显示全部楼层
  
我按着教程装就行了,不过第一次装不行,我也不知道怎么回事哦
回复

使用道具 举报

发表于 2004-12-29 19:58:52 | 显示全部楼层
我的系统里已经安装了replayer10了。
[root@create-kf MPlayer-1.0pre5]# ./configure --./configure --enable-gui --disable-gcc-checking --with-reallibdir=/usr/lib/essential-20040704 --language=zh_CN
到这一步出现如下提示
Detected operating system: Linux
Detected host architecture: i386

******************************************************************************

Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
Ok. You know. Do it. Did you read DOCS/HTML/en/users-vs-dev.html???

DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
Lame which is used by mencoder produces weird errors, too.

If you have any problem, install a GCC 2.95.x or 3.x version and try again.
If the problem _still_ exists, then read DOCS/HTML/en/bugreports.html !

  *** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

******************************************************************************
怎么办?
回复

使用道具 举报

发表于 2004-12-31 13:33:32 | 显示全部楼层
我的也和楼上这位一样。谁知道怎么解决?
回复

使用道具 举报

发表于 2004-12-31 16:27:10 | 显示全部楼层
我已经解决了。
楼上的,你可以这样试试:
./configure --enable-gui --with-reallibdir=/usr/lib/essential-20040704 --language=zh_CN
回复

使用道具 举报

发表于 2004-12-31 16:36:14 | 显示全部楼层
不要--disable-gcc-checking
回复

使用道具 举报

发表于 2005-1-4 12:18:14 | 显示全部楼层
我按照上面大案方法编译好好了,但Mplayer的菜单都是空白,试了很多次了,还有中文字幕怎么解决,望那位热心的继续给个帮助!
回复

使用道具 举报

发表于 2005-1-7 15:51:33 | 显示全部楼层
我装好后,当播放时,首先黑屏,然后系统跳出,重新登录.
不知为何?请高人指教!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
回复

使用道具 举报

发表于 2005-1-7 16:07:00 | 显示全部楼层
[quote:f2601d9cbb="snowwin"]我按照上面大案方法编译好好了,但Mplayer的菜单都是空白,试了很多次了,还有中文字幕怎么解决,望那位热心的继续给个帮助![/quote]

UTF-8locale下,需要将源码目录下help子目录help_mp-zh_CN.h文件转换为utf-8编码,但我建议你索性用英文界面。
回复

使用道具 举报

发表于 2005-1-7 19:00:53 | 显示全部楼层
谢谢troll,因为是初次使用LINUX,也不太懂,utf8和gbk,gb2312,gb18030搞的我云里雾里,mplayer这类软件本来用英文界面也无所谓,后来我把所有的安装文件都删除了,包括~/.mplayer/下的,编译不用zh_CN。中文字幕,直接在设置里输入/usr/share/fonts/zh_CN/TrueType/simsun.ttc,居然字幕也正常了,不过pre6好象有个加载字幕提示粗误的bug,看到论坛里有文章,却又不知道怎么用了~
回复

使用道具 举报

发表于 2005-1-8 04:52:06 | 显示全部楼层
老大...我照你的方法一步一步下来
出来这么个error....


[root@dhcp-298-259 MPlayer-1.0pre5]#  ./configure --enable-gui --with-codecsdir=/usr/lib/codecs --with-win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir=/usr/lib/codecs --disable-inet6 --language=zh_CN
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found
*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

    *** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
[root@dhcp-298-259 MPlayer-1.0pre5]# ./configure --enable-gui --disable-gcc-checking --with-reallibdir=/usr/lib/essential-20040704 --language=zh_CN
Detected operating system: Linux
Detected host architecture: i386

******************************************************************************

Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
Ok. You know. Do it. Did you read DOCS/HTML/en/users-vs-dev.html???

DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
Lame which is used by mencoder produces weird errors, too.

If you have any problem, install a GCC 2.95.x or 3.x version and try again.
If the problem _still_ exists, then read DOCS/HTML/en/bugreports.html !

  *** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

******************************************************************************


./configure: line 1: cc: command not found
Checking for CPU vendor ... GenuineIntel (6:8:10)
Checking for CPU type ...  Pentium III (Coppermine)
./configure: line 745: [: : integer expression expected
Checking for GCC & CPU optimization abilities ... Your cc does not even support "i386" for '-march' and '-mcpu'.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmx2 ... failed
It seems that your kernel does not correctly support mmx2.
To use mmx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.1 ... ok
Checking for Linux kernel version ... 2.4.20-8, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for setlocale() ... no
Checking for iconv ... no
Checking for langinfo ... no
Checking for language ... using zh_CN (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (=> i'll try inet_aton next)
Checking for inet_aton() ... no (=> network support disabled)
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).

Check "configure.log" if you do not understand why it failed.
回复

使用道具 举报

发表于 2005-1-8 10:35:10 | 显示全部楼层
看错误信息!
你肯定没装开发部分的软件包!
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found
*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***
Error: Bad gcc version
回复

使用道具 举报

发表于 2005-1-8 17:16:28 | 显示全部楼层
那个make的问题已经解决了...是我没有装开发包...谢谢你的提醒...
现在能放mp3了,只是放的时候会出来error
New_Face failed. Maybe the font path is wrong.Please supply the text font file(~/.mplayer/subfont.ttf)
???why?说什么字体文件不对....还老是跳个警告窗口出来...虽然歌还是可以放的...

我装的时候就这步有问题....
[root@dhcp-298-259 MPlayer-1.0pre6a]# cp /root/ MPlayer-1.0pre6a/etc/input.conf /usr/local/share/mplayer/
cp: 略过目录‘/root/’
cp: stat‘MPlayer-1.0pre6a/etc/input.conf’失败: 没有那个文件或目录
回复

使用道具 举报

发表于 2005-1-8 17:45:44 | 显示全部楼层
错误信息是因为没有安装字体,解决方法:随便找个文件复制到 ~/.mplayer/ 里
之后重命名为 subfont.ttf

root/ (这里多了一个空格)MPlayer
这一步不是必需的
回复

使用道具 举报

发表于 2005-1-8 18:16:47 | 显示全部楼层
试过了,不行...还是那个error...
哪里有下这个文件吗?subfont.ttf,或者其他的字体文件,我没有找到
那这样的话,看电影比如rm,rmvb,avi之类会没有字幕吗?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-8-5 17:50 , Processed in 0.029494 second(s), 13 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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