On Wed, Aug 2, 2017 at 12:26 PM, Ben Kelly <bke...@mozilla.com> wrote:
> On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek <t...@mielczarek.org> > wrote: > >> Yesterday I published sccache 0.2 to crates.io, so you can now `cargo >> install sccache` and get the latest version (it'll install to >> ~/.cargo/bin). >> > > I tried this on my linux build machine today and got: > > error: failed to run custom build command for `openssl-sys v0.9.15` > process didn't exit successfully: `/tmp/cargo-install. > FAs9llrjaqDW/release/build/openssl-sys-a543e0ede317714a/build-script-build` > (exit code: 101) > --- stdout > cargo:rerun-if-env-changed=OPENSSL_LIB_DIR > cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR > cargo:rerun-if-env-changed=OPENSSL_DIR > run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` > did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was > not found in the pkg-config search path.\nPerhaps you should add the > directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment > variable\nNo package \'openssl\' found\n" > > --- stderr > thread 'main' panicked at ' > > Could not find directory of OpenSSL installation, and this `-sys` crate > cannot > proceed without this knowledge. If OpenSSL is installed and this crate had > trouble finding it, you can set the `OPENSSL_DIR` environment variable > for the > compilation process. > > If you're in a situation where you think the directory *should* be found > automatically, please open a bug at https://github.com/sfackler/ > rust-openssl > and include information about your system as well as this message. > > $HOST = x86_64-unknown-linux-gnu > $TARGET = x86_64-unknown-linux-gnu > openssl-sys = 0.9.15 > > ', /home/bkelly/.cargo/registry/src/github.com- > 1ecc6299db9ec823/openssl-sys-0.9.15/build.rs:198 > note: Run with `RUST_BACKTRACE=1` for a backtrace. > > Build failed, waiting for other jobs to finish... > error: failed to compile `sccache v0.2.0`, intermediate artifacts can be > found at `/tmp/cargo-install.FAs9llrjaqDW` > Looks like I needed to run this as a pre-req on ubuntu: sudo apt-get install pkg-config libssl-dev _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform