Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4137678
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: LINUX

2015-03-03 14:49:57

ubuntu安装pcre
sudo apt-get install libpcre3-dev

编译nginx
./configure --prefix=/usr/local/server/nginx     --with-cc-opt="-I /usr/include/pcre -I /usr/include/openssl" --with-debug    --with-http_stub_status_module       --with-http_ssl_module 
出现
./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option
只好使用
./configure --prefix=/usr/local/server/nginx     --with-cc-opt="-I /usr/include/pcre" --with-debug    --with-http_stub_status_module       --with-http_ssl_module --with-http_realip_module --with-http_ssl_module --with-http_perl_module --with-http_stub_status_module --with-openssl=/software/openssl-1.0.2
阅读(4744) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~