|
|
在运行./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.
不知是何原因,望高手指教。 |
|