eternal 发表于 2002-11-10 21:17:44

安装MPlayer的错误, Help me,Please

./configure --enable-gui 后, 出现下面的错误:

Checking for GUI ... yes

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

Check configure.log if you do not understand why it failed.
# make
Makefile:7: config.mak: No such file or directory
make: *** No rule to make target `config.mak'.Stop.
# rpm -q libpng
libpng-1.2.2-6
#

前面好像已经有人问过了, 怎么没有人回答的??
请各位前辈指点迷津!

wxz8 发表于 2002-11-10 21:25:49

不是说的很清楚吗?要安装 libpng-dev

llc 发表于 2002-11-10 22:07:56

安装png和png-devel两个rpm包

eternal 发表于 2002-11-10 22:27:45

安装这两个RPM包后, 再./configure,
又出现下面的错误:
Checking for GUI ... yes

Error: X11 support required for GUI compilation

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

怎么办?麻烦各位啦.

llc 发表于 2002-11-10 22:41:23

如果是rh8的话,运行系统设置里的软件包将x开发环境选上,更新一下

eternal 发表于 2002-11-10 23:27:07

真是好事多磨, 运行redhat-config-packages时,出现如下错误:
# redhat-config-packages
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 163, in ?
    comps = im.readCompsViaMethod(hdlist, progress.update)
File "/usr/share/redhat-config-packages/method.py", line 488, in readCompsViaMethod
    update_method = update_method)
File "/usr/share/redhat-config-packages/comps.py", line 387, in __init__
    self.readCompsFile(file, self.packages)
File "/usr/share/redhat-config-packages/comps.py", line 471, in readCompsFile
    self.setupStateDicts(packages)
File "/usr/share/redhat-config-packages/comps.py", line 420, in setupStateDicts
    for prov in h:
TypeError: iteration over non-sequence
#

之后,程序就消失了.
重新安装该RPM包,也不行.
有没有办法修复该错误?
如果光驱启动更新, 哪些RPM包才是X环境开发需要的啊?
死了,是不是要重装系统啊?
-_-````````

llc 发表于 2002-11-10 23:34:41

爱莫能助了,我也不清楚具体那些文件是x开发需要的
你将xfree86-devel,glide3-devel,xaw3d-devel,gd-devel,libjpeg-devel,libmng-devel,netpbm-devel都装上试试

我觉得应该装个xfree86-devel就够了

eternal 发表于 2002-11-10 23:42:02

非常感谢!!
^-^
页: [1]
查看完整版本: 安装MPlayer的错误, Help me,Please