About mplayer,For help! I'm green hand!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
faunbeen
帖子: 5
注册时间: 2009-04-14 16:04

About mplayer,For help! I'm green hand!

#1

帖子 faunbeen » 2009-04-14 18:41

Error: The GUI requires libavcodec with PNG support (needs zlib).

Check "configure.log" if you do not understand why it failed.
user@ubuntu:~/桌面/MPlayer-1.0rc2$ sudo make
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 -c -o mplayer.o mplayer.c
In file included from mplayer.c:56:
libvo/font_load.h:5:22: error: ft2build.h: No such file or directory
libvo/font_load.h:6:10: error: #include expects "FILENAME" or <FILENAME>
In file included from mplayer.c:56:
libvo/font_load.h:40: error: expected specifier-qualifier-list before 'FT_Face'
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c:3061: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
mplayer.c:3062: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make: *** [mplayer.o] 错误 1
user@ubuntu:~/桌面/MPlayer-1.0rc2$
user@ubuntu:~/桌面/MPlayer-1.0rc2$
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: About mplayer,For help! I'm green hand!

#2

帖子 HuntXu » 2009-04-14 18:46

太老了...
编译也不要这个啦...
ftp://ftp.mplayerhq.hu/MPlayer/releases ... ot.tar.bz2
HUNT Unfortunately No Talent...
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: About mplayer,For help! I'm green hand!

#3

帖子 HuntXu » 2009-04-14 18:47

代码: 全选

[hunt@bubble ~]$ O_< locate  ft2build.h
/usr/include/ft2build.h
[hunt@bubble ~]$ O_< pacman -Qo /usr/include/ft2build.h
/usr/include/ft2build.h is owned by freetype2 2.3.9-1
依赖都没装全...configure怎么过的...
另,make不需要sudo...
HUNT Unfortunately No Talent...
faunbeen
帖子: 5
注册时间: 2009-04-14 16:04

Re: About mplayer,For help! I'm green hand!

#4

帖子 faunbeen » 2009-04-14 19:19

xie xie lao da
shu ru fa ye hai mei you zhuang shang ne !
kan kan xian!
回复