configure: error: ZLib not installed

安装libpng,出现“configure: error: ZLib not
installed”。

解决方法:

1. 进入ZLib的安装包,不必加--prefix参数命令:

    ./configure
   make && make install 

2.  进入libpng解压缩包中,输入:

   ./configure  --prefix=/usr/local/libpng
   make && make install

成功!

configure: error: ZLib not installed,布布扣,bubuko.com

时间: 2024-08-24 15:04:57

configure: error: ZLib not installed的相关文章

安装libpng出现configure: error: ZLib not installed和 zlib自定义目录安装的情况下,编译libpng时找不到zlib的问题的解决办法

在CentOS5.4下安装libpng./configure --prefix=/usr/local/libpng提示: configure: error: ZLib not installed 在装libpng之前,我先装了zlib.可为什么还是提示找不到呢?我接着查了资料,有文档说libpng不用configure,是拷贝scripts/makefile.linux我又执行如下命令:cp scripts/makefile.linux makefilemake结果,,出错更多了,.. 最后的解

Linux(CentOS6.5)下编译安装PHP5.6.22时报错”configure: error: ZLIB extension requires gzgets in zlib”的解决方式(确定已经编译安装Zlib,并已经指定Zlib路径)

本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢!   今天在CentOS6.5下编译安装PHP时,一直报错 configure: error: ZLIB extension requires gzgets in zlib 而Zlib确定已经安装了. 使用Google根本搜索不到有关的错误. 尝试重新编译了Zlib,还是不行. 后面发现我的PHP编译选项里面有个 --with-libdir=lib64 \ 删除之,再

安装postgreSQL出现configure:error:readline library not found解决方法

要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能. #yum install readline; #yum install readline-dev; readline 也就是命令行编辑,关闭的话,你直接用psql 就不能编辑命令行,如果输错指令,不能回滚命令历史记录,只能手工重新输入. 在安装postgreSQL的过程中遇到一个问题,在执行 configure 过程中报以下错误,configure:

./configure: error: the GeoIP module requires the GeoIP library.

近期安装的nginx的geo的模块在编译nginx的时候遇到报错,报错信息如下: checking for OpenSSL library ... found checking for zlib library ... found checking for GeoIP library ... not found checking for GeoIP library in /usr/local/ ... not found checking for GeoIP library in /usr/pk

configure error no acceptable C compiler found in

[root@localhost ~]# cd msmtp-1.4.20 [root@localhost msmtp-1.4.20]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatib

Linux系统下 安装nginx时出现提示的错误:configure: error: You need a C++ compiler for C++ support.

Linux下安装nginx #./configure--prefix=/usr/local/nginx 如果提示缺少pcre库, 则从http://www.pcre.org/ 下载 (wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.bz2) 假设解压在/usr/local/src/pcre-8.37 假设安装在/usr/local/pcre 配置: ./configure --prefix=/usr

安装rrdtool出错:configure:error:

最近安装Nagios出图软件rrdtool的时候报错,先整理如下: 安装环境: [[email protected]~]# uname -rm 2.6.32-504.el6.x86_64x86_64 [[email protected]~]# cat /etc/redhat-release CentOSrelease 6.6 (Final) 安装rrdtool依赖库 1)安装基础库 [[email protected]~]#yum install cairo pango cairo-devel

nodejs安装错误Node.js configure error: No acceptable C compiler found!解决

Node.js configure error: No acceptable C compiler found! Please make sure you have a C compiler installed on your system and/or consider adjusting the CC environment variable if you installed it in a non-standard prefix. 检查两点: 1.你是否有C编译工具被安装在你的系统中,gc

nginx安装报错./configure: error: the http rewrite module requires the pcre library.

nginx编译时报错: ./configure: error: the http rewrite module requires the pcre library. 解决方法: [[email protected] nginx-1.5.9]#  yum install zlib-devel -y