Cannot Install Bat (fat error)
Closed this issue · 2 comments
Shell1010 commented
What steps will reproduce the bug?
- Try to install it.
cargo install bat
What happens?
Fat error here
What did you expect to happen instead?
To install normally.
How did you install bat?
With cargo.
bat version and environment
zach1020 commented
I'm not sure what OS you're using, but it seems like an error that can be fixed with:
CFLAGS="-std=gnu99" cargo install bat
This will specify a more modern C standard that what you may be using.
Otherwise, consider using a different package manager (like the one built into your system, or homebrew for Mac).
Shell1010 commented
I'm not sure what OS you're using, but it seems like an error that can be fixed with:
CFLAGS="-std=gnu99" cargo install batThis will specify a more modern C standard that what you may be using.
This fixed it. Thank you!