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

Add libudev-dev to Ubuntu dependencies #538

Merged
merged 1 commit into from
Sep 21, 2020
Merged

Add libudev-dev to Ubuntu dependencies #538

merged 1 commit into from
Sep 21, 2020

Conversation

Zooce
Copy link
Contributor

@Zooce Zooce commented Sep 21, 2020

Bevy seems to now depend on libudev-sys (and thus libudev-dev):

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n"', /home/zooce/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

This PR adds libudev-dev to the Ubuntu 20.04 dependencies.

@Zooce
Copy link
Contributor Author

Zooce commented Sep 21, 2020

#330 mentions another similar error for the alsa package, which seems to be from the alsa-sys crate, but that issue mentions libsdl2-dev. I'm just not sure what the correct dependency is.

@Moxinilian Moxinilian added A-Build-System Related to build systems or continuous integration C-Docs An addition or correction to our documentation C-Feature A new feature, making something new possible labels Sep 21, 2020
@CastilloDel
Copy link

I also needed to install libudev-dev for libudev-sys v0.1.4 to compile. In debian bullseye/sid

@cart
Copy link
Member

cart commented Sep 21, 2020

Awesome. Thanks for helping us stay up-to-date!

@cart cart merged commit 18a8532 into bevyengine:master Sep 21, 2020
mrk-its pushed a commit to mrk-its/bevy that referenced this pull request Oct 6, 2020
@DJMcNab
Copy link
Member

DJMcNab commented Jul 6, 2021

@Zooce please respond in #2373 for the relicense to MIT/Apache 2.0. Thanks!

@Zooce
Copy link
Contributor Author

Zooce commented Jul 6, 2021

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration C-Docs An addition or correction to our documentation C-Feature A new feature, making something new possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants