Open 5trongthany opened 4 years ago
I had the same issue, but I fixed it by installing libnice on my distro.
I had the same warnings at the top of your log:
cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
cargo:warning=set the LLVM_CONFIG_PATH environment variable to the full path to a valid `llvm-config` executable (including the executable itself)
I installed llvm and clang, and then my cargo was able to build the libnice dependency correctly.
sudo apt-get install llvm
sudo apt-get install clang
Fixed the issue in my ubuntu distro.
I had the same warnings at the top of your log:
cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2)) cargo:warning=set the LLVM_CONFIG_PATH environment variable to the full path to a valid `llvm-config` executable (including the executable itself)
I installed llvm and clang, and then my cargo was able to build the libnice dependency correctly.
I have some error
==> Installing libnice dependency: libevent
==> Pouring libevent-2.1.12.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/libevent/2.1.12: 57 files, 2MB
==> Installing libnice dependency: libnghttp2
==> Pouring libnghttp2-1.50.0.big_sur.bottle.tar.gz
Error: No such file or directory @ rb_sysopen - /Users/zhaozhenhang/Library/Caches/Homebrew/downloads/9edd543c93876725f9c26dc7863f7312835cf522346859d092474bb3024e478e--libnghttp2-1.50.0.big_sur.bottle.tar.gz
when I run brew install libnice
command.
I am trying to build the program again, but this time running into a different build error.
The following is the list of previous components that built without issue. I'm not sure how much this helps but I want to be verbose.
Let me know if there is anything else I can add to help out. Thank you!