nginx-clojure debug构建简单说明

实际上参考了官方的构建参数,提供一个debug 模式的文件

原始配置

configure arguments: --prefix= --sbin-path=nginx --conf-path=conf/nginx.conf --error-log-path=logs/error.log --http-log-path=logs/access.log --pid-path=logs/nginx.pid --lock-path=logs/nginx.lock --http-client-body-temp-path=temp/client_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --http-scgi-temp-path=temp/scgi_temp --with-http_ssl_module --with-http_v2_module --with-pcre-jit --with-debug --with-http_image_filter_module=dynamic --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-pcre=../pcre-8.40 --with-zlib=../zlib-1.2.11 --with-openssl=../openssl-3.1.0 --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=../nginx-clojure/src/c

debug 构建参数

nginx-1.25.0 版本,对于pcre,zlib 以及openssl 都使用自己下载的,注意openssl 构建需要安装perl-IPC-Cmd

./configure --prefix= --sbin-path=nginx --conf-path=conf/nginx.conf --error-log-path=logs/error.log --http-log-path=logs/access.log --pid-path=logs/nginx.pid --lock-path=logs/nginx.lock --http-client-body-temp-path=temp/client_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --http-scgi-temp-path=temp/scgi_temp --with-http_ssl_module --with-http_v2_module --with-pcre-jit --with-debug --with-http_image_filter_module=dynamic --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-zlib=../zlib-1.2.13 --with-pcre=../pcre-8.40 --with-openssl=../openssl-3.1.0 --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module   --with-ipv6 --with-debug --with-cc-opt='-O0 -g' --add-module=../nginx-clojure-0.6.0/src/c    

说明

docker 版本的debug 文件我已经push docker 仓库了dalongrong/nginx-clojure:0.6.0-debug 可以直接使用

参考资料

https://github.com/nginx-clojure/nginx-clojure
https://github.com/openssl/openssl/releases
https://github.com/madler/zlib/releases
https://sourceforge.net/projects/pcre/
https://stackoverflow.com/questions/70464585/error-when-installing-openssl-3-0-1-cant-locate-ipc-cmd-pm-in-inc

posted on   荣锋亮  阅读(115)  评论(2编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2022-06-12 WunderGraph 组件
2019-06-12 使用readthedocs 发布 sphinx doc文档
2019-06-12 pgloader 方便的数据迁移工具
2019-06-12 circus && web comsole docker-compose 独立部署web console 的一个bug
2018-06-12 nats 学习 集群ha 配置
2017-06-12 Apache Tez 了解
2016-06-12 pouchdb Conflicts

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示