Error Zlib-headers And/or Libs Where Not Found
Contents |
2008, 08:55 AMchecking 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-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking error zlib check failed make sure to have the zlib libs and headers installed whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p
Error Zlib Not Found On System Or In Local Libs
checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking zlib.h not found centos for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output
Error: Missing Liblzma Header Files
file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if checking for zlib library... not found the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c -p checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries...
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software ./configure fails with: libz... configure: error: not found. User Name Remember Me? Password Linux
Bzip2 Library And Headers Are Required
- Software This forum is for Software issues. Having a problem installing a new
Zlib-devel
program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, checking whether zlib support suffices... configure: error: zlib library and headers are required a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to https://ubuntuforums.org/archive/index.php/t-692704.html threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If http://www.linuxquestions.org/questions/linux-software-2/configure-fails-with-libz-configure-error-not-found-487737/ you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 2 1 2 > Search this Thread 09-28-2006, 01:04 PM #1 erpe Member Registered: Sep 2005 Distribution: OpenSuse 10.2 Posts: 114 Rep: ./configure fails with: libz... configure: error: not found. I try to compile Space Hulk (http://r.vinot.free.fr/spacehulk/news.html) on Debian. However I can't get past the ./configure. I get this error message: Code: checking for libz... configure
to build. You may need to install a zlib development package. Install zlib-devel package using YUM command, # yum install zlib-devel -y If you http://thelinuxfaq.com/359-configure-error-zlib-header-zlib-h-not-found-centos-ubuntu are working on Ubuntu system execute below command, # sudo apt-get install http://www.cnblogs.com/ArtsCrafts/archive/2013/01/13/lighttpd.html zlib1g-dev libncurses5-dev Comments (0) Leave a Comment Name: Reply to: Email: * Message: * Posting your comment... Search Popular Recent Error : Connection Refused By Host in NagiosLinux Interview Questions and Answers for L2 - IIbc Command Not Found in CentOS / RHEL / Fedora / UbuntuHow to Set not found or Increase Memory Heap Size in Apache TomcatHow to Start, Stop, Restart, Check Status IIS Service by Command LineHow to Install SSH2 extension for PHP RHEL/CentOS 7Mount You Must Specify The Filesystem Type in LinuxHow to Install Apache JMeter on Ubuntu-14.04, Fedora-20, CentOS-7How to Install XAMPP 64 Bit or 32 Bit Latest Version on Terminal LinuxHow to Install Mosquitto On your Ubuntu / library and headers Debian Install Oracle 11g on RedHat / CentOSHow to use tmpwatch Command in LinuxShell Script for Check Disk Space and Send Mail ReportHow to View Last Users Logged/Shutdown/Reboot into ServerHow to Disable IPV6 Ubuntu 15.04, CentOS 7, Fedora 23 How to Solved : Brightness Cannot Change on Ubuntu 15.04, 14.04How to Install Maven Latest version on UbuntuMongoDB Auth Key File Configuration in a Replica SetSimple Shell Script TCPDUMP Output Stores in a Log File. Navigation Linux Ubuntu Centos Linux Commands MySQL Apache PHP Nagios Shell Script Windows Xampp Yum CentoOS FFMPEG Unix Recently Viewed How Can You Compare Multiple Strings in Shell ScriptHow to Allow Remote Desktop Connection in Windows SystemHow to View Last Users Logged/Shutdown/Reboot into ServerHow can I connect Telnet as the Root User on LinuxHow to Solved : Brightness Cannot Change on Ubuntu 15.04, 14.04 Useful Links HOME RSS SITE MAP PRIVACY POLICY TERMS CONTACT About Us I'm very pleasure to share my working experience in linux field and posted articles in this website are bits and pieces learned in my career... Copyright 2014 by TheLinuxFAQ. All Rights Reserved. Twitter Facebook D
首先我们先从lighttpd官网上下载http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.gz 解压后lighttpd-1.4.32 进入解压后的目录 cd xxx/lighttpd-1.4.32/ 1 ./configure 这里就出错啦。具体错误代码忘记保存啦。但是 是缺少 pcre 。到http://www.pcre.org/活在 https://sourceforge.net/projects/pcre/files/pcre/上下载 解压 安装 进入到pcre解压后的目录 ./configure 这里有出现错误啦。缺少C++编译器。我们只要安装G++就可以啦 1 sudo apt-get install g++ 安装完之后,在重新编译pcre 1 ./configure 2 make pcre安装成功之后就可以重新编译安装 lighttpd 了 另外的错误提示一并贴一下 出现configure: error: C compiler cannot create executables … 安装sudo apt-get install libc6-dev. 出现configure: error: configure: error: pcre-config not found … 安装sudo apt-get install libpcre3-dev 出现configure: error: zlib-headers and/or libs where not found … 安装sudo apt-get install zlib1g-dev 出现configure: error: bzip2-headers and/or libs where not found … 安装sudo apt-get install libbz2-dev 最后有跑到 lighttpd 官网看了下 安装步骤,才发现更简单,直接输入下面指令 1 sudo apt-get build-dep lighttpd 2 ./configure 3 make 4 su make install 默认是安装在 /usr/local 如果你想安装在其他目录,输入 1 ./configure --help 里面有详细说明 安装成功后要想在控制台中 直接启动 lighttpd 需要创建初始化脚本 ,输入 1 sudo update-rc.d lighttpd defaults 我的机器 提示 System start/stop links for /etc/init.d/lighttpd already exist。看来在安装的时候 已经帮我创建好了。 启动 lighttpd 1 lighttpd -f lighttpd: option requires an argument -- 'f' lighttpd/1.4.32 (Jan 13 2013 12:44:00) - a light and fast webserver usage: -f