- 论坛徽章:
- 0
|
本帖最后由 realcriss 于 2012-11-15 09:38 编辑
configer能成功通过,并且指定了。看错误提示,好像是没有吧user传递到make- ./configure
- --user=root \
- --group=root \
复制代码- + /usr/bin/make DESTDIR=/root/rpmbuild/tmp/nginx-1.2.4-1.ngx-root install
- /usr/bin/make -f objs/Makefile install
- make[1]: Entering directory `/root/rpmbuild/BUILD/nginx-1.2.4'
- gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
- -o objs/src/core/nginx.o \
- src/core/nginx.c
- cc1: warnings being treated as errors
- src/core/nginx.c: In function 'ngx_set_user':
- src/core/nginx.c:1110: warning: unused parameter 'cmd'
- src/core/nginx.c: In function 'ngx_set_env':
- src/core/nginx.c:1173: warning: unused parameter 'cmd'
- src/core/nginx.c: In function 'ngx_set_priority':
- src/core/nginx.c:1203: warning: unused parameter 'cmd'
- src/core/nginx.c: In function 'ngx_set_cpu_affinity':
- src/core/nginx.c:1243: warning: unused parameter 'cmd'
- make[1]: *** [objs/src/core/nginx.o] Error 1
- make[1]: Leaving directory `/root/rpmbuild/BUILD/nginx-1.2.4'
- make: *** [install] Error 2
复制代码 |
|