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

推荐订阅源

博客园 - Franky
D
Docker
Jina AI
Jina AI
The GitHub Blog
The GitHub Blog
博客园 - 聂微东
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
爱范儿
爱范儿
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
Recent Announcements
Recent Announcements
U
Unit 42
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
量子位
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure 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安装成功鸟!