惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
罗磊的独立博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
A
About on SuperTechFans
WordPress大学
WordPress大学
B
Blog
Martin Fowler
Martin Fowler
Jina AI
Jina AI
I
InfoQ
P
Proofpoint News Feed
小众软件
小众软件
S
SegmentFault 最新的问题
V
V2EX
B
Blog RSS Feed
量子位
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
MongoDB | Blog
MongoDB | Blog
美团技术团队

博客园 - wenanry

让免费游戏带来回报的15种方法 乐趣是核心 devenv.exe - 系统错误无法启动此程序,因为计算机中丢失 MSVCR100.dll。尝试重新安装该程序以解决此问题。【解决办法】 Ubuntu下的PHP开发环境架设 Dpkg 常用指令操作快速参考 WineQQ 最新解决方案:WineQQ2012 Beta2 互联网创业降级论 consistent hashing in C# linux redhat Centos debian 破解root 密码 “Give root password for maintenance” Linux 脚本编写基础 linux一些基本命令以及初级网络配置 linux修改ssh端口和禁止root远程登陆设置 Nginx中URL不区分大小写 Nginx启动出错 error while loading shared libraries: 安装Nginx时报错 the HTTP cache module requires md5 functions 使用Tomcat配置域名 yum升级提示TypeError: unsubscriptable object Redis相关指令文档 Redis配置文件参数说明 Redis在Windows+linux平台下的安装配置
pcre-8.20编译安装出错[pcrecpp.lo] Error 1
wenanry · 2012-04-16 · via 博客园 - wenanry

这几天想在测试机上将Apache与Tomcat整合,哪知CentOS5.5 内置的httpd貌似有点问题,不想去研究具体问题出在哪儿,索性安装个新版的好了。然后在编译过程中,发现少了一堆包,像apr- 1.4.6.tar.gz、apr-util-1.4.1.tar.gz、pcre-8.20.tar.gz···前2个编译安装倒没啥大问题,无非是编 译的时候写好路径参数,但最后一个玩意儿,就有点麻烦···嗯,还是百度了一下,把以下转载内容贴上以供分享···

下载pcre-8.20编译安装,make时报错:

source='pcrecpp.cc' object='pcrecpp.lo' libtool=yes
        DEPDIR=.deps depmode=none /bin/sh ./depcomp
        /bin/sh ./libtool --tag=CXX   --mode=compile  -DHAVE_CONFIG_H -I.   -I/usr/kerberos/include   -c -o pcrecpp.lo pcrecpp.cc
libtool: ignoring unknown tag CXX
libtool: unrecognized option `-DHAVE_CONFIG_H'
Try `libtool --help' for more information.
make[1]: *** [pcrecpp.lo] Error 1

这个错误,基本可以断定是缺少系统包造成的,但是缺少哪个包却不明确,这里记录下,这个错误是缺少安装gcc-c++,只需yum -y install gcc-c++,重新configure,make && make install通过。

编译安装完成,再安装Apache。。。

OK,新Apache安装成功鸟!