使用自定义编译OpenSSL编译Nginx时提示找不到config文件的问题咨询
自定义编译OpenSSL编译Nginx时提示找不到config文件的问题咨询
我已经在NGINX的GitHub仓库提交了一个issue,想再确认一下当前遇到的情况是预期行为还是异常问题。
我的需求是用自己编译成功的OpenSSL来编译Nginx,但每次执行make命令编译Nginx时,总会触发如下错误:
cd /opt/nginx-1.26.2 \ && if [ -f Makefile ]; then make clean; fi \ && ./config --prefix=/opt/nginx-1.26.2/.openssl no-shared no-threads \ && make \ && make install_sw LIBDIR=lib make[2]: Entering directory '/opt/nginx-1.26.2' rm -rf Makefile objs make[2]: Leaving directory '/opt/nginx-1.26.2' /bin/sh: line 3: ./config: No such file or directory make[1]: *** [objs/Makefile:1641: /opt/nginx-1.26.2/.openssl/include/openssl/ssl.h] Error 127 make[1]: Leaving directory '/opt/nginx-1.26.2' make: *** [Makefile:10: build] Error 2 bash-5.1# ./config bash: ./config: No such file or directory
备注:内容来源于stack exchange,提问作者Kasumi
相关产品推荐
相关产品推荐

