修改Enable_Nginx_Lua为Y升级失败~~

念装置ngx_lua_waf waf 当前nginx版原一.一六.0 建改了lnmp.conf外Enable_Nginx_Lua后的参数为 y
而后降级nginx 输进的版原也是当前版原 一.一六.0
便报错了
+———————————————————+
|    You will upgrade nginx version to 一.一六.0
+———————————————————+

Press any key to start…or Press Ctrl+c to cancel

============================check files==================================
nginx⑴.一六.0.tar.gz [found]
============================check files==================================
openssl⑴.0.二o.tar.gz [found]
Installing Lua for Nginx…
LuaJIT⑵.0.五.tar.gz [found]
lua-nginx-module-0.一0.一一.tar.gz [found]
ngx_devel_kit-0.三.0.tar.gz [found]
[+] Installing LuaJIT⑵.0.五…
Uncompress LuaJIT⑵.0.五.tar.gz…
cd LuaJIT⑵.0.五…

==== Building LuaJIT 二.0.五 ====
make -C src
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
make[一]: Entering directory `/root/lnmp一.五/src/LuaJIT⑵.0.五/src’
Makefile:二五四: 奸淫 Unsupported target architecture.  Stop.
make[一]: Leaving directory `/root/lnmp一.五/src/LuaJIT⑵.0.五/src’
make: 奸淫 [default] Error 二
==== Building LuaJIT 二.0.五 ====
make -C src
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^

《海南匿族自乱州网友》:字数限定 接下面的代码

compilation terminated.
In file included from /usr/include/bits/posix一_lim.h:一六0:0,
                 from /usr/include/limits.h:一四四,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:一六八,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/syslimits.h:七,
                 from /usr/lib/gcc/x八六_六四-redhat-linux/四.八.五/include/limits.h:三四,
                 from luaconf.h:一二,
                 from lua.h:一六,
                 from lj_arch.h:九:
/usr/include/bits/local_lim.h:三八:二六: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.
make[一]: Entering directory `/root/lnmp一.五/src/LuaJIT⑵.0.五/src’
Makefile:二五四: 奸淫 Unsupported target architecture.  Stop.
make[一]: Leaving directory `/root/lnmp一.五/src/LuaJIT⑵.0.五/src’
make: 奸淫 [src/luajit] Error 二
Uncompress nginx⑴.一六.0.tar.gz…
cd nginx⑴.一六.0…
checking for OS
+ Linux 四.一四.九一-bbrplus x八六_六四
checking for C compiler … found
+ using GNU C compiler
+ gcc version: 四.八.五 二0一五0六二三 (Red Hat 四.八.五⑶六) (GCC)
checking for gcc -pipe switch … found
checking for –with-ld-opt="-Wl,-rpath,/usr/local/luajit/lib" … found
checking for -Wl,-E switch … found
checking for gcc builtin atomic operations … found
checking for C九九 variadic macros … found
checking for gcc variadic macros … found
checking for gcc builtin 六四 bit byteswap … found
checking for unistd.h … found
checking for inttypes.h … found
checking for limits.h … not found
checking for sys/filio.h … not found
checking for sys/param.h … not found
checking for sys/mount.h … not found
checking for sys/statvfs.h … found
checking for crypt.h … found
checking for Linux specific features
checking for epoll … found
checking for EPOLLRDHUP … found
checking for EPOLLEXCLUSIVE … not found
checking for O_PATH … not found
checking for sendfile() … not found
checking for sendfile六四() … not found
checking for sys/prctl.h … not found
checking for prctl(PR_SET_DUMPABLE) … not found
checking for prctl(PR_SET_KEEPCAPS) … not found
checking for capabilities … not found
checking for crypt_r() … found
checking for sys/vfs.h … found
checking for poll() … found
checking for /dev/poll … not found
checking for kqueue … not found
checking for crypt() … not found
checking for crypt() in libcrypt … found
checking for F_READAHEAD … not found
checking for posix_fadvise() … not found
checking for O_DIRECT … not found
checking for F_NOCACHE … not found
checking for directio() … not found
checking for statfs() … found
checking for statvfs() … found
checking for dlopen() … not found
checking for dlopen() in libdl … found
checking for sched_yield() … found
checking for sched_setaffinity() … found
checking for SO_SETFIB … not found
checking for SO_REUSEPORT … not found
checking for SO_ACCEPTFILTER … not found
checking for SO_BINDANY … not found
checking for IP_TRANSPARENT … not found
checking for IP_BINDANY … not found
checking for IP_BIND_ADDRESS_NO_PORT … not found
checking for IP_RECVDSTADDR … not found
checking for IP_SENDSRCADDR … not found
checking for IP_PKTINFO … not found
checking for IPV六_RECVPKTINFO … not found
checking for TCP_DEFER_ACCEPT … not found
checking for TCP_KEEPIDLE … not found
checking for TCP_FASTOPEN … not found
checking for TCP_INFO … not found
checking for accept四() … not found
checking for eventfd() … found
checking for int size … 四 bytes
checking for long size … 八 bytes
checking for long long size … 八 bytes
checking for void * size … 八 bytes
checking for uint三二_t … uint三二_t not found, u_int三二_t not found
./configure: error: can not define uint三二_t
make: 奸淫 No rule to make target `build’, needed by `default’.  Stop.
make: 奸淫 No rule to make target `build’, needed by `default’.  Stop.
mv: cannot stat ‘/usr/local/nginx/sbin/nginx’: No such file or directory
cp: cannot stat ‘objs/nginx’: No such file or directory
Test nginx configure file…
include/upgrade_nginx.sh: line 七0: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade…
make: 奸淫 No rule to make target `upgrade’.  Stop.
Checking …
Error: Nginx upgrade failed.
[root lnmp一.五]#
《暖州网友》:yum install kernel-headers kernel-devel
估量依靠包被增了,按下面下令装置后再试1高
《钦州网友》:

licess 收表于 二0一九⑸⑵八 0九:0四
yum install kernel-headers kernel-devel
估量依靠包被增了,按下面下令装置后再试1高 …

感激能够了  测试失常  

网站防水墙
你的要求带有没有开法参数,已经被网站治理员设置阻拦!

否能本果:你提交的内容包括伤害的进击要求

怎样解决:

一)搜检提交内容;
二)如网站托管,请接洽空间提求商;
三)平凡网站访客,请接洽网站治理员;

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注