LZ 你好,我按照你的教程安装 verynginx ,在“./configure --prefix=/opt/VeryNginx --user=nginx --group=nginx --with-http_stub_status_module --with-luajit ”这一步中提示
make[1]: Leaving directory `/root/ngx_openresty-1.9.7.1/build/LuaJIT-2.1-20151219/src'
==== Successfully built LuaJIT 2.1.0-beta1 ====
make install TARGET_STRIP=@: CCDEBUG=-g CC=cc PREFIX=/opt/VeryNginx/luajit DESTDIR=/root/ngx_openresty-1.9.7.1/build/luajit-root/
==== Installing LuaJIT 2.1.0-beta1 to /opt/VeryNginx/luajit ====
mkdir -p /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/bin /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/include/luajit-2.1 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/share/man/man1 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/pkgconfig /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/share/luajit-2.1.0-beta1/jit /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/share/lua/5.1 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/lua/5.1
cd src && install -m 0755 luajit /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/bin/luajit-2.1.0-beta1
cd src && test -f libluajit.a && install -m 0644 libluajit.a /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/libluajit-5.1.a || :
rm -f /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/libluajit-5.1.so.2.1.0 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/
libluajit-5.1.so /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/
libluajit-5.1.socd src && test -f
libluajit.so && \
install -m 0755
libluajit.so /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/libluajit-5.1.so.2.1.0 && \
ldconfig -n /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib && \
ln -sf libluajit-5.1.so.2.1.0 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/
libluajit-5.1.so && \
ln -sf libluajit-5.1.so.2.1.0 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/
libluajit-5.1.so || :
cd etc && install -m 0644 luajit.1 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/share/man/man1
cd etc && sed -e "s|^prefix=.*|prefix=/opt/VeryNginx/luajit|" -e "s|^multilib=.*|multilib=lib|" luajit.pc > luajit.pc.tmp && \
install -m 0644 luajit.pc.tmp /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/lib/pkgconfig/luajit.pc && \
rm -f luajit.pc.tmp
cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/include/luajit-2.1
cd src/jit && install -m 0644 bc.lua bcsave.lua dump.lua p.lua v.lua zone.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua vmdef.lua /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/share/luajit-2.1.0-beta1/jit
ln -sf luajit-2.1.0-beta1 /root/ngx_openresty-1.9.7.1/build/luajit-root//opt/VeryNginx/luajit/bin/luajit
make: execvp: ln: Too many levels of symbolic links
make: *** [install] Error 127
ERROR: failed to run command: make install TARGET_STRIP=@: CCDEBUG=-g CC=cc PREFIX=/opt/VeryNginx/luajit DESTDIR=/root/ngx_openresty-1.9.7.1/build/luajit-root/