gpt4 book ai didi

ssl - 如何在 Erlang/YAWS 中启用 ssl/crypto

转载 作者:太空宇宙 更新时间:2023-11-03 13:44:10 25 4
gpt4 key购买 nike

在 yaws-2.0.4 上运行“配置”时出现以下错误:

Check Erlang environment & applications
checking for erl... /usr/local/bin/erl
checking for erlc... /usr/local/bin/erlc
checking for escript... /usr/local/bin/escript
checking for dialyzer... /usr/local/bin/dialyzer
checking for ct_run... /usr/local/bin/ct_run
checking for erlc... /usr/local/bin/erlc
checking for erl... /usr/local/bin/erl
checking for Erlang/OTP root directory... /usr/local/lib/erlang
checking for Erlang/OTP library base directory... /usr/local/lib/erlang/lib
checking for Erlang/OTP ERTS version... 8.1
checking for Erlang/OTP ERTS directory... /usr/local/lib/erlang/erts-8.1
checking for Erlang/OTP release... 19
checking for Erlang/OTP library installation base directory... ${ERLANG_LIB_DIR}
checking for Erlang/OTP 'yaws' library installation subdirectory... ${ERLANG_LIB_DIR}/yaws-2.0.4
checking for Erlang/OTP 'yapp' library installation subdirectory... ${ERLANG_LIB_DIR}/yapp-0.4.2
checking for Erlang/OTP 'kernel' library subdirectory... /usr/local/lib/erlang/lib/kernel-5.1
checking for Erlang/OTP 'kernel' library version... 5.1
checking for Erlang/OTP 'stdlib' library subdirectory... /usr/local/lib/erlang/lib/stdlib-3.1
checking for Erlang/OTP 'stdlib' library version... 3.1
checking for Erlang/OTP 'sasl' library subdirectory... /usr/local/lib/erlang/lib/sasl-3.0.1
checking for Erlang/OTP 'sasl' library version... 3.0.1
checking for Erlang/OTP 'erts' library subdirectory... /usr/local/lib/erlang/lib/erts-8.1
checking for Erlang/OTP 'erts' library version... 8.1
checking for Erlang/OTP 'compiler' library subdirectory... /usr/local/lib/erlang/lib/compiler-7.0.2
checking for Erlang/OTP 'compiler' library version... 7.0.2
checking for Erlang/OTP 'crypto' library subdirectory... not found
checking for Erlang/OTP 'crypto' library version... not found
configure: error: "crypto" Erlang application not found.

但我正在尝试为 otp_src_19.1 启用 SSL,但它提供了以下信息:

在 Mac 中执行 ./configure --with-ssl:

*********************************************************************
********************** APPLICATIONS DISABLED **********************
*********************************************************************

crypto : No usable OpenSSL found
odbc : ODBC library - header check failed
ssh : No usable OpenSSL found
ssl : No usable OpenSSL found

*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************

wx : wxWidgets not found, wx will NOT be usable

*********************************************************************
*********************************************************************
********************** DOCUMENTATION INFORMATION ******************
*********************************************************************

documentation :
fop is missing.
Using fakefop to generate placeholder PDF files.

*********************************************************************

最佳答案

您必须从此处安装所需的 OpenSSL 版本:https://www.openssl.org/source/。只需从此处下载源代码并阅读 INSTALL 自述文件,即可在您的操作系统上安装 OpenSSL。安装后使用 openssl version -a 命令检查 OpenSSL 版本。

关于ssl - 如何在 Erlang/YAWS 中启用 ssl/crypto,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40115838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com