rust-av / avp

Another Video Player
MIT License
49 stars 9 forks source link

Failed to build #15

Closed akiross closed 4 years ago

akiross commented 4 years ago

I am running rustc 1.37.0 (eae3437df 2019-08-13), on Fedora 29, but I am unable to build. Here's the error:

   Compiling opus-sys v0.1.0 (https://github.com/rust-av/opus-rs#966ce08b)
error: failed to run custom build command for `vpx-sys v0.1.0 (https://github.com/rust-av/vpx-rs#2a509f97)`

Caused by:
  process didn't exit successfully: `/home/are/Tools/avp/target/debug/build/vpx-sys-92c1115ce0fd9917/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(PkgConfig(Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"vpx\" \"vpx >= 1.5.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package vpx was not fou
nd in the pkg-config search path.\nPerhaps you should add the directory containing `vpx.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'vpx\', required by \'virtual:world\', not found\nPackage \'vpx\', required by \'virtual:world\', not found\n" } }), State {
 next_error: None })', src/libcore/result.rs:999:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `opus-sys v0.1.0 (https://github.com/rust-av/opus-rs#966ce08b)`

Caused by:
  process didn't exit successfully: `/home/are/Tools/avp/target/debug/build/opus-sys-6d767d1ba017ef27/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(PkgConfig(Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"opus\" \"opus >= 1.3\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package opus was not found in the pkg-config search path.\nPerhaps you should add the directory containing `opus.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'opus\', required by \'virtual:world\', not found\nPackage \'opus\', required by \'virtual:world\', not found\n" } }), State { next_error: None })', src/libcore/result.rs:999:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
akiross commented 4 years ago

Sorry, I noticed too late it was a missing opus dependency!

lu-zero commented 4 years ago

No problem at all :) thank you for trying out tiny player :)