Describe the bug
I've installed Rust just to try this package, so I'm not experienced with it. I'm not being able to install it on Ubuntu.
To Reproduce
Steps to reproduce the behavior:
cargo install tplay
--- stderr
thread 'main' panicked at /home/micael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alsa-sys-0.3.1/build.rs:13:18:
`PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "alsa"` did not exit successfully: exit status: 1
error: could not find system library 'alsa' required by the 'alsa-sys' crate
--- stderr
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
Package 'alsa', required by 'virtual:world', not found
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `tplay v0.4.5`, intermediate artifacts can be found at `/tmp/cargo-installf3bw3c`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
--- stderr
thread 'main' panicked at /home/micael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ffmpeg-sys-next-6.0.1/build.rs:715:14:
called `Result::unwrap()` on an `Err` value: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "libavutil"` did not exit successfully: exit status: 1
error: could not find system library 'libavutil' required by the 'ffmpeg-sys-next' crate
--- stderr
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `tplay v0.4.5`, intermediate artifacts can be found at `/tmp/cargo-install0jgH9U`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Expected behavior
It should be possible to install it.
Desktop (please complete the following information):
Oh, I think I just needed to install the dependencies first. I thought they were just for development, and that for end users they would be automatically installed, or something like that. My bad.
Describe the bug I've installed Rust just to try this package, so I'm not experienced with it. I'm not being able to install it on Ubuntu.
To Reproduce Steps to reproduce the behavior:
cargo install tplay
cargo install tplay --features="mpv_0_35" --no-default-features
Expected behavior It should be possible to install it.
Desktop (please complete the following information):
tplay --version
: Couldn't installyt-dlp --version
: Not installedmpv --version
: Not installedrustc --version
: rustc 1.74.0 (79e9716c9 2023-11-13)pkg-config --modversion opencv4
: Not installedffmpeg -version
: Not installed