You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to install it on a Mac 15.0 Sequoia (M1 Chip) with Rust 1.83.0, I've faced the following error:
--- stdout MacOS detected. We will check if you have either the MacPorts or Homebrew package managers. Checking for MacPorts... Macports not found. Checking for Homebrew... 'brew' executable detected at "/opt/homebrew/bin/brew\n" Proceeding with installation assuming Homebrew is your package manager --- stderr thread 'main' panicked at /Users/blep/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rsmgclient-2.0.2/build.rs:101:14: called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
After investaging a bit by myself, I was able to fix it "quickly and dirty" by tweaking your code. When looking at the aforementioned file (build.rs), I get:
(a bit more about this later). Just above, I see that you check the installation of OpenSSL:
let path_openssl = ifcfg!(target_arch = "aarch64"){"/opt/homebrew/Cellar/[email protected]"}else{"/usr/local/Cellar/[email protected]"};
I've changed from [email protected] to openssl@3 (which is installed on my machine). Note that for MacPorts you check the installation of openssl3. So, I bypassed the error. 😁
Anyway, the error comes from the fact that std::fs::read_dir returns a Result that you bypass using an unwrap. So, if [email protected] is effectively not installed on the client's machine (which was the case for me), it explodes. 💥
Moreover, even if it's not recommended, if I try to install [email protected] through brew, I get:
Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
Hence the blocking error. 🙂
The text was updated successfully, but these errors were encountered:
Hello!
While trying to install it on a Mac 15.0 Sequoia (M1 Chip) with Rust 1.83.0, I've faced the following error:
After investaging a bit by myself, I was able to fix it "quickly and dirty" by tweaking your code. When looking at the aforementioned file (
build.rs
), I get:(a bit more about this later). Just above, I see that you check the installation of OpenSSL:
I've changed from
[email protected]
toopenssl@3
(which is installed on my machine). Note that for MacPorts you check the installation ofopenssl3
. So, I bypassed the error. 😁Anyway, the error comes from the fact that
std::fs::read_dir
returns aResult
that you bypass using anunwrap
. So, if[email protected]
is effectively not installed on the client's machine (which was the case for me), it explodes. 💥Moreover, even if it's not recommended, if I try to install
[email protected]
throughbrew
, I get:Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
Hence the blocking error. 🙂
The text was updated successfully, but these errors were encountered: