Configure Error Bzip2-headers And/or Libs Where Not Found
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of
Configure: Error: Did Not Find Pcre-config Script At /usr/local/pcre
Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC apache pcre-config for libpcre not found Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu
Configure: Error: You Need A C++ Compiler For C++ Support.
Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, util_pcre.c:49:18: fatal error: pcre.h: no such file or directory Cloud and Juju Server Platforms [ubuntu] configure: error: pcre-config not found, install the pcre-devel package or build with Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 4 of 4 Thread: configure: error: pcre-config not found, how to install pcre ubuntu install the pcre-devel package or build with Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode August 3rd, 2010 #1 tapas_mishra View Profile View Forum Posts Private Message Quad Shot of Ubuntu Join Date Oct 2009 Beans 492 DistroUbuntu 10.04 Lucid Lynx configure: error: pcre-config not found, install the pcre-devel package or build with I am installing lighttpd on Ubuntu 9.04. As per instructions on this page I did Code: svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/ cd lighttpd-1.4.x ./autogen.sh and then when executed Code: ./configure Got following error Code: configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre then went to synaptic software sources and installed every thing that I could get with name pcre after which error went. But is there some logical and shorter way to reduce that. also following error Code: configure: error: bzip2-headers and/or libs where not found, install them or build with --without-bzip2 the above problem of bzip2
首先我们先从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
Pcre-config Ubuntu
这里有出现错误啦。缺少C++编译器。我们只要安装G++就可以啦 1 sudo apt-get install g++ bzip2 library and headers are required 安装完之后,在重新编译pcre 1 ./configure 2 make
Pcre-devel
pcre安装成功之后就可以重新编译安装 lighttpd 了 另外的错误提示一并贴一下 出现configure: error: C compiler cannot create executables … 安装sudo apt-get install libc6-dev. https://ubuntuforums.org/showthread.php?t=1544980 出现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 … http://www.cnblogs.com/ArtsCrafts/archive/2013/01/13/lighttpd.html 安装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
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/12806122/missing-python-bz2-module Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up missing python bz2 module up vote not found 15 down vote favorite 5 I have installed at my home directory. [spatel@~ dev1]$ /home/spatel/python-2.7.3/bin/python -V Python 2.7.3 I am trying to run one script which required python 2.7.x version, and i am getting missing bz2 error [spatel@~ dev1]$ ./import_logs.py Traceback (most recent call last): File "./import_logs.py", line 13, in