Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac bookpro m1 failed to run custom build command #4

Closed
kirs112 opened this issue Sep 7, 2023 · 2 comments
Closed

mac bookpro m1 failed to run custom build command #4

kirs112 opened this issue Sep 7, 2023 · 2 comments

Comments

@kirs112
Copy link

kirs112 commented Sep 7, 2023

cargo install fltk-fluid
Updating crates.io index
Installing fltk-fluid v0.1.9
Compiling libc v0.2.147
Compiling cc v1.0.83
Compiling cmake v0.1.50
Compiling fltk-fluid v0.1.9
error: failed to run custom build command for fltk-fluid v0.1.9

Caused by:
process didn't exit successfully: /var/folders/td/k2dmqky15blg2kx_x8_5bb_m0000gn/T/cargo-installl93O0q/release/build/fltk-fluid-41751a9220ef5666/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: NotPresent', /Users/test/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-fluid-0.1.9/build.rs:6:59
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: failed to compile fltk-fluid v0.1.9, intermediate artifacts can be found at /var/folders/td/k2dmqky15blg2kx_x8_5bb_m0000gn/T/cargo-installl93O0q

@MoAlyousef
Copy link
Collaborator

Hi
How did you install Rust?
Was it via rustup. The build script searches for a CARGO_HOME env variable which doesn’t seem to be set.

@kirs112
Copy link
Author

kirs112 commented Sep 8, 2023

Hi
The problem has been solved

@kirs112 kirs112 closed this as completed Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants