Open TomBaxter opened 1 year ago
I also hit a problem with trying to install using cargo
and starship failed.
I don't know how this is published on crate.io when it requires 3rd-party build tools to install. Should not require cmake
to install from crates.io
gix-faster
instead of gix-max-faster
as used in the default feature list, should allow compilation without cmake e.g. via --features 'battery notify gix-faster' --no-default-features
.
starship bug-report Issue occurs before starship is installed so no bug report
Current Behavior
Crate installation... cargo install starship --locked ... fails
Expected Behavior
Crate installation... cargo install starship --locked ... succeeds
Additional context/Screenshots
Sorry I didn't get a screenshot before fixing. Got error that points to the need to install cmake
Possible Solution
Install cmake In my case... sudo apt-get install cmake
Environment
Starship version: ❯ starship --version starship 1.10.3 branch: commit_hash: build_time:2022-10-11 17:09:52 -04:00 build_env:rustc 1.64.0 (a55dd71d5 2022-09-19),stable-x86_64-unknown-linux-gnu
Shell type: N/A
Shell version: N/A
Shell plugin manager: N/A
Terminal emulator: foot but I assume N/A
Operating system: Ubuntu 22.04 Desktop Minimal: Fairly fresh install
Relevant Shell Configuration
N/A
Starship Configuration
N/A
Possibly related issue
4307
Note
cmake appears to be required to install starship from crates.io but is not installed by default in Ubuntu Desktop Minimal
Perhaps "Minimal" is an edge case not needing consideration but I thought I'd open this just in case we would like to document. I'm happy to make a PR but not sure where to document or if it's worthy of noting.