mplayer还是无法编译下去:(

Totem,mplayer,sopcast,realplayer,bmp
回复
vvlaw
帖子: 27
注册时间: 2005-11-05 14:00

mplayer还是无法编译下去:(

#1

帖子 vvlaw » 2007-01-01 16:22

昨天apt了mplayer,提示mp3lib错误什么的,用ffmpeg后没有错误提示,但是声音很差的说。

今天就从源码来编译,可是忘记--enable-alsa和--enable-xv了,以至于编译成功后,没有alsa和xv的支持。

编译出来的mplayer运行文件的时候老实提示ou错误等等

就想着重新编译,不料无法编译下去:(

sr/lib/glib-2.0/include -DMPG12PLAY -o x11_common.o x11_common.c
x11_common.c:47:31: error: X11/extensions/Xv.h: No such file or directory
x11_common.c:48:34: error: X11/extensions/Xvlib.h: No such file or directory
x11_common.c: In function 'vo_xv_set_eq':
x11_common.c:2122: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2122: error: (Each undeclared identifier is reported only once
x11_common.c:2122: error: for each function it appears in.)
x11_common.c:2122: error: 'attributes' undeclared (first use in this function)
x11_common.c:2123: warning: ISO C90 forbids mixed declarations and code
x11_common.c:2130: error: 'XvSettable' undeclared (first use in this function)
x11_common.c: In function 'vo_xv_get_eq':
x11_common.c:2193: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2193: error: 'attributes' undeclared (first use in this function)
x11_common.c:2194: warning: ISO C90 forbids mixed declarations and code
x11_common.c:2199: error: 'XvGettable' undeclared (first use in this function)
x11_common.c: In function 'xv_intern_atom_if_exists':
x11_common.c:2271: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2271: error: 'attributes' undeclared (first use in this function)
x11_common.c:2272: warning: ISO C90 forbids mixed declarations and code
x11_common.c: In function 'vo_xv_get_max_img_dim':
x11_common.c:2317: error: 'XvEncodingInfo' undeclared (first use in this function)
x11_common.c:2317: error: 'encodings' undeclared (first use in this function)
x11_common.c:2319: warning: ISO C90 forbids mixed declarations and code
make[1]: *** [x11_common.o] Error 1
make[1]: Leaving directory `/home/vvlaw/tools/player/MPlayer-1.0rc1/libvo'
make: *** [libvo/libvo.a] Error 2
jk88811
帖子: 55
注册时间: 2006-02-16 9:42

#2

帖子 jk88811 » 2007-01-01 17:36

论坛和指南里已经有很多关于mplayer的安装配置了,你可以搜索一下

一般不需要自己编译,只是apt-get的时候,把一些必要的包带上,另外win32codec(好像拼错了)也是需要的
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#3

帖子 zhan » 2007-01-01 18:24

没有装 xv 的支持包。
要编译的话请先 sudo apt-get build-dep mplayer
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#4

帖子 BigSnake.NET » 2007-01-02 17:53

用源装不是很方便么。。
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
vvlaw
帖子: 27
注册时间: 2005-11-05 14:00

#5

帖子 vvlaw » 2007-01-06 19:20

zhan 写了:没有装 xv 的支持包。
要编译的话请先 sudo apt-get build-dep mplayer
$ sudo apt-get build-dep mplayer
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libdv4-dev instead of libdv-dev
E: Build-dependencies for mplayer could not be satisfied.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-01-06 19:31

mplayer和wine。劝你都别编译。因为涉及的不同包太多。编译成功了,也可能是个跛脚的老太婆。
● 鸣学
lisir
帖子: 1187
注册时间: 2006-04-29 14:54
来自: 山东
联系:

#7

帖子 lisir » 2007-01-06 22:09

同意楼上的意见。
我倒是编译了Mplayer1.0rc,但在播放rmvb格式时提出中断11错误什么的。但用同样的包装源里的却没问题。
学会看置顶帖、精华帖。
学会使用搜索。
常见问题解答和发帖需知
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#8

帖子 zhan » 2007-01-06 23:09

vvlaw 写了:
zhan 写了:没有装 xv 的支持包。
要编译的话请先 sudo apt-get build-dep mplayer
$ sudo apt-get build-dep mplayer
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libdv4-dev instead of libdv-dev
E: Build-dependencies for mplayer could not be satisfied.
很明显你的源不全,建议到 wiki 的快速设置指南上找个全一点的,同时也建议从源里面安装 mplayer.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#9

帖子 karron » 2007-01-07 8:46

个人非常不建议初学者自己编译软件.

如果想学习编译,可以自己编译一些小软件.而不要一上来就搞大东东.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
回复