Open basilgohar opened 1 year ago
It's not a bug. It's just a skill issue.
You need to run this command to see what package provides that file:
sudo dnf provides "/usr/include/limits.h"
Install that package, and any other packages you are missing on your system. Enjoy!
Edit: You definitely need these, and maybe more things that I already had on my system:
sudo dnf in glibc-headers clang-devel nasm
Your also need vapoursynth:
sudo pip3 install vapoursynth
And you may need to run av1an with -m hybrid
parameter due to a bug: https://github.com/master-of-zen/Av1an/issues/744
Thanks for the thorough reply! It's not just a skill issue, I figured out all the dependencies and then never came back to update the issue! If I'm really a good person, I'll make a PR with instructions for successfully installing on Fedora. :-) Time will tell. But thank you again. I was able to get it working with steps like you have listed above.
Attempting to install
av1an
on Fedora 37 fails with the following result:error: failed to run custom build command for
ffmpeg-sys-the-third v1.1.1+ffmpeg-6.0`Caused by: process didn't exit successfully:
/tmp/cargo-installrxDKUv/release/build/ffmpeg-sys-the-third-5b8b9f9b5910985f/build-script-build
(exit status: 101) --- stdout(snip a lot of lines that may not be useful)
--- stderr /usr/include/limits.h:124:16: fatal error: 'limits.h' file not found thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("/usr/include/limits.h:124:16: fatal error: 'limits.h' file not found\n")', /home/basilgohar/.cargo/registry/src/github.com-1ecc6299db9ec823/ffmpeg-sys-the-third- 1.1.1+ffmpeg-6.0/build.rs:1292:10 note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compileav1an v0.4.1
, intermediate artifacts can be found at `/tmp/cargo-installrxDKUv