Closed
Description
Hello.
I encountered a problem while adding niginx-clojure
as a module to nginx
.
Can you tell me if I'm setting something up wrong?
I went through the following process to use nginx-clojure-0.6.0
.
On macOS(Ventura)
& JDK 17
1. install nginx-1.23.3
, openssl-3.3.0
, pcre-8.45
2. I used this command to compile nginx.
- command
sudo ./configure --prefix=/usr/local/nginx \ --with-http_ssl_module \ --with-openssl=/usr/local/openssl-3.3.0 \ --with-pcre=/usr/local/pcre-8.45 sudo make sudo make install
3. Next, I tried to compile using this command.
-
command
sudo ./configure --add-module=/Users/kimseong-yeon/Desktop/code/nginx-clojure-0.6.0/src/c
-
log
c -c -DNGX_CLOJURE_BE_SILENT_WITHOUT_JVM -I "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/include" -I "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/include/darwin" -pipe -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I /Users/kimseong-yeon/Desktop/code/nginx-clojure-0.6.0/src/c \ -o objs/addon/c/ngx_http_clojure_mem.o \ /Users/kimseong-yeon/Desktop/code/nginx-clojure-0.6.0/src/c/ngx_http_clojure_mem.c /Users/kimseong-yeon/Desktop/code/nginx-clojure-0.6.0/src/c/ngx_http_clojure_mem.c:3116:9: error: variable 'len' set but not used [-Werror,-Wunused-but-set-variable] int len = 0; ^ 1 error generated. make[1]: *** [objs/addon/c/ngx_http_clojure_mem.o] Error 1 make: *** [build] Error 2
Thanks.
Metadata
Metadata
Assignees
Labels
No labels