nginx-1.2.2编译错误make [1]:进入目录`/ usr / local / src / nginx sed -e“s | %% PREFIX %% |

时间:2012-07-17 11:34:55

标签: nginx ubuntu-11.10 ubuntu-12.04

我刚从http://nginx.org/download/nginx-1.2.2.tar.gz

下载了稳定版的nginx-1.2.2

并像这样运行./configure ./configure --conf-path = / etc / nginx / nginx.conf --error-log-path = / var / log / nginx / error.log --pid-path = / var / run / nginx.pid - -lock-path = / var / lock / nginx.lock --http-log-path = / var / log / nginx / access.log --with-http_dav_module --http-client-body-temp-path = / var / lib / nginx / body --with-http_ssl_module --http-proxy-temp-path = / var / lib / nginx / proxy --with-http_stub_status_module --http-fastcgi-temp-path = / var / lib / nginx / fastcgi --with-http_flv_module

运行make

时,所有内容都会成功并出现错误
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/ngx_modules.o \
-lpthread -lcrypt -lpcre -lcrypto -lcrypto -lz

make [1]:离开目录/usr/local/src/nginx-1.2.2' make -f objs/Makefile manpage make[1]: Entering directory / usr / local / src / nginx-1.2.2' sed -e“s | %% PREFIX %% | / usr / local / nginx |” \         -e“s | %% PID_PATH %% | /var/run/nginx.pid |” \         -e“s | %% CONF_PATH %% | /etc/nginx/nginx.conf |” \         -e“s | %% ERROR_LOG_PATH %% | /var/log/nginx/error.log |” \         < man / nginx.8> OBJ文件/ nginx.8 make [1]:离开目录`/usr/local/src/nginx-1.2.2'

在ubuntu 11.10和12.04上尝试同样的错误

编译期间有类似问题的人

0 个答案:

没有答案