标签:int library make dev error using san .gz 命令
依次执行下列命令:
`
cd /usr/local/src/
wget http://nginx.org/download/nginx-nginx-1.10.1.tar.gz
tar zxvf nginx-1.10.1.tar.gz -C /usr/local
cd /usr/local/nginx-1.10.1/
./configure
`
./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-httprewritemodule option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre= option
$ yum install gcc-c++
$ yum install pcre pcre-devel
$ yum install zlib zlib-devel
$ yum install openssl openssl--devel
cd /usr/local/nginx-1.10.1/ ./configure make && make install
cd /usr/local/nginx/sbin ./nginx
如果出现如下问题: ` nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] still could not bind()
`
netstat -ntpl pkill -9 nginx 再次启动./nginx
vi /usr/bin/yum
修改python头部python为python2.7.5
标签:int library make dev error using san .gz 命令
原文地址:http://www.cnblogs.com/tianboblog/p/7095845.html