debian 12 安装openresty 失败 #724
Closed
huihuiyule
started this conversation in
General
Replies: 2 comments
-
测试了一下,没有问题。应该是openssl未能正常下载。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
有可能是这个包下载的时候损坏了或者没有正常下载。去 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
adding module in ../rds-json-nginx-module-0.17
adding module in ../rds-csv-nginx-module-0.09
adding module in ../ngx_stream_lua-0.0.15
checking for LuaJIT library in /www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/lib and /www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
checking for LuaJIT 2.x ... found
checking for Lua language 5.1 ... found
checking for LuaJIT has FFI ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... found
checking for SA_RESTART ... found
checking for PCRE2 library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
nginx path prefix: "/www/server/openresty/nginx"
nginx binary file: "/www/server/openresty/nginx/sbin/nginx"
nginx modules path: "/www/server/openresty/nginx/modules"
nginx configuration prefix: "/www/server/openresty/nginx/conf"
nginx configuration file: "/www/server/openresty/nginx/conf/nginx.conf"
nginx pid file: "/www/server/openresty/nginx/logs/nginx.pid"
nginx error log file: "/www/server/openresty/nginx/logs/error.log"
nginx http access log file: "/www/server/openresty/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
cd ../..
Type the following commands to build and install:
gmake
gmake install
++ which gmake
cd /www/server/source/openresty/openresty-1.27.1.1/build/LuaJIT-2.1-20240815 && gmake TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/www/server/openresty/luajit
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/LuaJIT-2.1-20240815'
==== Building LuaJIT 2.1 ====
gmake -C src
gmake[2]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/LuaJIT-2.1-20240815/src'
gmake[2]: Nothing to be done for 'default'.
gmake[2]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/LuaJIT-2.1-20240815/src'
==== Successfully built LuaJIT 2.1 ====
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/LuaJIT-2.1-20240815'
cd /www/server/source/openresty/openresty-1.27.1.1/build/lua-cjson-2.1.0.14 && gmake DESTDIR= LUA_INCLUDE_DIR=/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 LUA_CMODULE_DIR=/www/server/openresty/lualib LUA_MODULE_DIR=/www/server/openresty/lualib CJSON_CFLAGS="-g -fpic" CC=cc
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-cjson-2.1.0.14'
cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 -g -fpic -o lua_cjson.o lua_cjson.c
cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 -g -fpic -o strbuf.o strbuf.c
cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 -g -fpic -o fpconv.o fpconv.c
cc -o cjson.so -shared lua_cjson.o strbuf.o fpconv.o
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-cjson-2.1.0.14'
cd /www/server/source/openresty/openresty-1.27.1.1/build/lua-resty-signal-0.04 && gmake DESTDIR= LUA_INCLUDE_DIR=/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 LUA_LIB_DIR=/www/server/openresty/lualib CC=cc
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-resty-signal-0.04'
cc -O3 -g -Wall -fpic -c resty_signal.c
cc -shared -fvisibility=hidden resty_signal.o -o librestysignal.so
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-resty-signal-0.04'
cd /www/server/source/openresty/openresty-1.27.1.1/build/lua-redis-parser-0.13 && gmake DESTDIR= LUA_INCLUDE_DIR=/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 LUA_LIB_DIR=/www/server/openresty/lualib CC=cc
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-redis-parser-0.13'
cc -c -g -O -Wall -fpic -I/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 -o redis-parser.o redis-parser.c
cc -shared -o parser.so redis-parser.o
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-redis-parser-0.13'
cd /www/server/source/openresty/openresty-1.27.1.1/build/lua-rds-parser-0.06 && gmake DESTDIR= LUA_INCLUDE_DIR=/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 LUA_LIB_DIR=/www/server/openresty/lualib CC=cc
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-rds-parser-0.06'
cc -c -g -O -Wall -fpic -I/www/server/source/openresty/openresty-1.27.1.1/build/luajit-root/www/server/openresty/luajit/include/luajit-2.1 -o src/rds_parser.o src/rds_parser.c
cc -shared -o parser.so src/rds_parser.o
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/lua-rds-parser-0.06'
cd /www/server/source/openresty/openresty-1.27.1.1/build/nginx-1.27.1 && gmake
gmake[1]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/nginx-1.27.1'
gmake -f objs/Makefile
gmake[2]: Entering directory '/www/server/source/openresty/openresty-1.27.1.1/build/nginx-1.27.1'
cd /www/server/source/openresty/openssl-1.1.1p
&& if [ -f Makefile ]; then gmake clean; fi
&& ./config --prefix=/www/server/source/openresty/openssl-1.1.1p/.openssl no-shared no-threads -g
&& gmake
&& gmake install_sw LIBDIR=lib
/bin/sh: line 1: cd: /www/server/source/openresty/openssl-1.1.1p: No such file or directory
gmake[2]: *** [objs/Makefile:3444: /www/server/source/openresty/openssl-1.1.1p/.openssl/include/openssl/ssl.h] Error 1
gmake[2]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/nginx-1.27.1'
gmake[1]: *** [Makefile:10: build] Error 2
gmake[1]: Leaving directory '/www/server/source/openresty/openresty-1.27.1.1/build/nginx-1.27.1'
gmake: *** [Makefile:11: all] Error 2
Installation of Openresty completed
Beta Was this translation helpful? Give feedback.
All reactions