![]() |
|
|||||||
| 服务器环境搭建 Windows,Linux,IIS,Apache等服务器配置、安全维护以及PHP和MYSQL运行环境讨论。 |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
IP: 180.125.50.245
|
|||
|
|||
|
在CentOS5.4下安装libpng
./configure --prefix=/usr/local/libpng 提示: configure: error: ZLib not installed 在装libpng之前,我先装了zlib。可为什么还是提示找不到呢? 我接着查了资料,有文档说libpng不用configure,是拷贝scripts/makefile.linux 我又执行如下命令: cp scripts/makefile.linux makefile make 结果,,出错更多了,。。 最后的解决方案是: 1.进入zlib的源文件目录,执行命令 make clean,清除zlib; 2.重新配置 ./configure,后面不要接--prefix参数; 3.编辑 && 安装; 4.进入libpng目录,执行命令 ./configure --prefix=/usr/local/libpng; 5.编译 && 安装; 6.安装成功; |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| zen-cart v1.5.5 How do I change the "Congratulations! you have successfully installed | Questa | ZenCart | 1 | 2016-04-03 04:06 PM |