编译错误 Cannot find pcre library by CentOS 6 请指教谢谢

2016-12-07 13:39:55 +08:00
 ESXi
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for pcre-config... no
checking for pcre location... not found
configure: error: Cannot find pcre library. Configure --with-pcre=DIR
[root@localhost ~]#

编译命令
cd /tmp/[和谐]-libev
./configure && make && make install

Update 1
yum -y install pcre-devel
之后出现
configure: error: Cannot find `asciidoc` in PATH.
8198 次点击
所在节点    问与答
5 条回复
lhbc
2016-12-07 13:49:32 +08:00
yum install -y pcre-devel
lhbc
2016-12-07 13:50:09 +08:00
yum install -y asciidoc
ESXi
2016-12-07 13:59:39 +08:00
@lhbc 谢谢你!问题解决!
编译新版[和谐]-libev 需要新增 pcre-devel asciidoc xmlto ,完整命令如下:

yum -y install epel-release
yum -y update
yum -y install gcc automake autoconf libtool make m2crypto autoconf libtool curl curl-devel zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel pcre-devel asciidoc xmlto git
vipdevipy
2017-02-27 12:45:23 +08:00
楼主也是群晖安装 SS 碰到的问题是吗。。。。各种 ./configure 不能用。。最后解决了吗?
ESXi
2017-03-04 13:39:31 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://tanronggui.xyz/t/325885

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX