免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2948 | 回复: 7
打印 上一主题 下一主题

[桌面系统] fedora 10 mplayer安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-15 20:07 |只看该作者 |倒序浏览
求救了,安装mplayer到执行make时出现以下错误,请高手们指点以下

(1) tar jxvf MPlayer-1.0rc2.tar.bz2
(2) cd MPlayer-1.0rc2
(3) ./configure --prefix=/usr/local/mplayer --enable-gui --enable-freetype --codecsdir=/usr/lib/codecs/ --win32codecsdir=/usr/lib/wincodecs/ --language=zh_CN
(4)make

(5)make install
为什么在执行第4第5步的时候老是出现错误呢
make -C libvo libvo.a
make[1]: Entering directory `/root/MPlayer-1.0rc2/libvo'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/SDL  -D_REENTRANT -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2     -c -o vo_ivtv.o vo_ivtv.c
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/root/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] 错误 2
请高人们指点以下,谢谢了

[ 本帖最后由 xmlw8851 于 2009-3-15 20:25 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-03-23 00:20 |只看该作者
我的也这样,实在没办法,只能yum安装,再加codecs文件,大部分可以播放,但有些avi和wmv还是播放不了。
本人是新手。

论坛徽章:
0
3 [报告]
发表于 2009-03-23 00:25 |只看该作者
http://hi.baidu.com/yxf1984/blog ... d5220fc83d6d5b.html
我试过了,可以。

[ 本帖最后由 guangsweet 于 2009-3-23 02:14 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2009-04-18 15:19 |只看该作者

去掉IVTV啊

在" ./configure  .... =zh_CN" 之后加上一个编译选项"--disable-ivtv",就可以了。这样就不用编译ivtv模块。

论坛徽章:
0
5 [报告]
发表于 2009-04-20 12:39 |只看该作者
建议增加rpmfusion的源。
因为媒体播放器涉及到数字版权问题,官方源一般不会放这种东西,即使有也只是支持有限的媒体格式。
我也是增加了rpmfusion的源后用yumex安装的mplayer。

论坛徽章:
0
6 [报告]
发表于 2009-05-22 09:45 |只看该作者
看了网上的资料,也仅仅用Yum安装成功,然后再需要安装解码器,RMVB的解码器还要另外装,感觉比较麻烦,而且RPM包的关联文件包很多,所以用Yum安装会比较方便。

论坛徽章:
0
7 [报告]
发表于 2009-05-26 15:49 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2009-05-26 15:51 |只看该作者
原帖由 overwrite 于 2009-4-18 15:19 发表
在" ./configure  .... =zh_CN" 之后加上一个编译选项"--disable-ivtv",就可以了。这样就不用编译ivtv模块。



这位好牛叉啊!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP