我正在尝试在我的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"
有人知道如何解决此问题吗?
2条答案
按热度按时间plicqrtu1#
--with-ssl="path/openssl"
选项应该可以修复此问题。我还通过以下教程安装了javac:How to Install JDK 8 (on Windows, Mac & Ubuntu) and Get Started with Java Programming。
2wnc66cl2#
在基于Debian的发行版下,还需要安装
libkrb5-dev
: