Docker Make Build
Druue opened this issue · 2 comments
error: failed to run custom build command for alsa-sys v0.1.2
Caused by:
process didn't exit successfully: /app/target/release/build/alsa-sys-e490274dab067251/build-script-build
(exit code: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap()
on an Err
value: "\"pkg-config\" \"--libs\" \"--cflags\" \"alsa\"
did not exit successfully: exit code: 1\n--- stderr\nPackage alsa was not found in the pkg-config search path.\nPerhaps you should add the directory containing alsa.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'alsa\' found\n"', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/alsa-sys-0.1.2/build.rs:4:5 note: run with
RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:4: build] Error 101
Adding this to the .travis.yml should fix it
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y gcc pkg-config openssl libasound2-dev cmake build-essential python3 libfreetype6-dev libexpat1-dev libxcb-composite0-dev libssl-dev libx11-dev