LinuxSir.cn,穿越时空的Linuxsir!

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

安装mplayer遇到的问题

[复制链接]
发表于 2004-11-25 16:17:22 | 显示全部楼层 |阅读模式
在运行./configure --enable-gui --language=zh_CN后,最后几行

Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

Check "configure.log" if you do not understand why it failed.
在安装zlib和zlib-devel后

安装libpng-1.2.5,从libpng-1.2.5/scripts中选取makefile.linux
复制到..中make,成功。运行./pngtest最后几行显示

Current memory allocation:          0 bytes
Maximum memory allocation:     337562 bytes
Total   memory allocation:    1024164 bytes
     Number of allocations:        198
libpng passes test

另外安装libpng-debel
# rpm -ivh libpng-devel-1.2.2-6.i386.rpm
warning: libpng-devel-1.2.2-6.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                                                          ########################################### [100%]
   1:libpng-devel                                                     ########################################### [100%]

但回到MPlayer-1.0pre5中运行./configure --enable-gui --language=zh_CN
依然为

Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

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

不知是何原因,望高手指教。
 楼主| 发表于 2004-11-25 16:26:07 | 显示全部楼层
# rpm -qa zlib
zlib-1.1.4-8
# rpm -qa libpng
libpng-1.2.2-16
# rpm -qa libpng-devel
libpng-devel-1.2.2-6
# rpm -qa zlib-devel
zlib-devel-1.1.4-7
 楼主| 发表于 2004-11-26 16:44:16 | 显示全部楼层
看来没有人能解决这个问题,我很遗憾。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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