-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Update linux_dependencies.md #3517
Conversation
Thanks for making Bevy. Recommend adding rust-libudev-devel as an additional dependence for Fedora.
Awesome thanks! Once we can get someone else to verify this (I'm not a Linux expert, and don't have a Fedora install to play with), I'll be happy to merge it in. |
Also not a linux expert, but it seems like folks using |
@godsmith99x, do you have any thoughts on why Fedora might need this dep, but other distros don't seem to? |
Sorry, I wouldn't call myself an expert either. I'm new to rust. I used rustup to install my tool chain, but the bevy breakout example didn't compile, at first. I just followed the compiler errors to locate the missing packages until it worked. Just wanted to share my experience. Hope it is helpful. |
Sounds good. I'll ask around in the broader community and see if I can find any answers. Thanks for letting us know! |
So, summary of my investigation:
So this is probable getting pulled in by either We need an equivalent crate for Okay, this makes sense to me now! Thanks for the troubleshooting, I'll merge it in :) |
bors r+ |
Thanks for making Bevy. Recommend adding rust-libudev-devel as an additional dependence for Fedora. # Objective - Describe the objective or issue this PR addresses. - If you're fixing a specific issue, say "Fixes #X". ## Solution - Describe the solution used to achieve the objective above.
Pull request successfully merged into main. Build succeeded! And happy new year! 🎉 |
Hi @alice-i-cecile, As @rparrett mentions this conflicts with rust that was installed using rustup. For me (rustup installation inside a toolbox with the Fedora35 base image), I ran into the following build error:
Which was resolved with just Blindly following the dependencies and installing If you do get rust from your package manager, maybe We should probably ask the user to install rust via rustup and optionally provide additional packages if you do decide to install rust via the package manager. |
# Objective - Revert #3517 as the dependency added (rust-libudev-devel) has a dependency on cargo which install the package manager version, which isn't compatible with rustup version and may break the setup of users Co-authored-by: François <8672791+mockersf@users.noreply.github.com>
Thanks for making Bevy. Recommend adding rust-libudev-devel as an additional dependence for Fedora.
Objective
Solution