我正在尝试在我的MAC中安装Erlang build 17,并显示以下错误。
* crypto : OpenSSL is configured for kerberos but no krb5.h found
* jinterface : Java compiler disabled by user
* odbc : ODBC library - header check failed
* ssh : OpenSSL is configured for kerberos but no krb5.h found
* ssl : OpenSSL is configured for kerberos but no krb5.h found
DOCUMENTATION INFORMATION (See: /Users/xxx/.kerl/builds/17/otp_build_17.5.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
我的.kerlrc文件包含以下选项
CPPFLAGS="-march=native -mtune=native -O3 -g"
KERL_CONFIGURE_OPTIONS="--with-ssl=/usr/bin --without-javac --enable-darwin-64bit --enable-shared-zlib
--enable-dynamic-ssl-lib --enable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --with-wx"
KERL_DEFAULT_INSTALL_DIR="$KERL_BASE_DIR/installs"
有人知道如何解决此问题吗?
KERL_CONFIGURE_OPTIONS="--disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-62bit --with-ssl=/usr/local/Cellar/openssl/1.0.2h_1"
--with-ssl="path/openssl"
选项应该修复它。
我也通过遵循本教程来安装javac:How to Install JDK 8 (on Windows, Mac & Ubuntu) and Get Started with Java Programming。