use*_*418 5 macos erlang xcode build-tools asdf-vm
我遇到了一个问题,我以前在 osx 上使用 asdf 超过 6 个多月没有遇到过这个问题。我需要安装 Erlang 21.3.7.1,当我安装时,我从控制台收到这个错误输出,老实说我不知道如何解决:
Me@My-MacBook-Pro:~/Code/codebase|master
? asdf install erlang 21.3.7.1
Downloading kerl...
Downloading OTP-21.3.7.1.tar.gz to /Users/Me/.asdf/plugins/erlang/kerl-home/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 523 0 --:--:-- --:--:-- --:--:-- 523
100 51.5M 0 51.5M 0 0 8541k 0 --:--:-- 0:00:06 --:--:-- 9657k
Extracting source code
Building Erlang/OTP 21.3.7.1 (asdf_21.3.7.1), please wait...
DOCUMENTATION INFORMATION (See: /Users/Me/.asdf/plugins/erlang/kerl-home/builds/asdf_21.3.7.1/otp_build_21.3.7.1.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Build failed.
GEN obj/x86_64-apple-darwin19.4.0/opt/MADE
LD /Users/Me/.asdf/plugins/erlang/kerl-home/builds/asdf_21.3.7.1/otp_src_21.3.7.1/bin/x86_64-apple-darwin19.4.0/erl_child_setup
ld: weak import of symbol '___darwin_check_fd_set_overflow' not supported because of option: -no_weak_imports for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/Users/Me/.asdf/plugins/erlang/kerl-home/builds/asdf_21.3.7.1/otp_src_21.3.7.1/bin/x86_64-apple-darwin19.4.0/erl_child_setup] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [smp] Error 2
make: *** [emulator_profile_generate] Error 2
Run Code Online (Sandbox Code Playgroud)
我在 Erlang/Elixir/asdf 论坛上发现的任何内容都没有特别有用。asdf 是用自制软件安装的。我可以安装 ref:maint 版本并更改我的 .tool-version 以匹配,但这会引发一系列其他与 Crypto 相关的问题,并且即使安装了 openssl 也无法找到它们。有人有一个或两个想法吗?
| 归档时间: |
|
| 查看次数: |
1976 次 |
| 最近记录: |