Closed streaps closed 5 years ago
I updated native-tls
and tokio-tls
to 0.2
which should get rid of the openssl:0.9
dependency in favor of 0.10
in the hope that it builds for you (and requiring both versions was a bit pointless anyway).
Now I'm stuck here:
Compiling tokio-tls v0.2.0
error: failed to run custom build command for `mumble-web-proxy v0.1.0 (/root/repos/mumble-web-proxy)`
process didn't exit successfully: `/root/repos/mumble-web-proxy/target/release/build/mumble-web-proxy-64384a7483bb1d0b/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'protoc: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:1009:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: build_script_build::main
10: std::rt::lang_start::{{closure}}
11: std::panicking::try::do_call
12: __rust_maybe_catch_panic
13: std::rt::lang_start_internal
14: main
15: __libc_start_main
16: _start
My bad, looks like I forgot to add a particular (empty) directory to git while still assuming it to exist in the build script. It should be building now (just tried it in a mostly fresh Fedora 28 VM).
It compiled succesfully :). Praise Rust for not eating all the RAM of my tiny server.
I get a build error on Ubuntu 18.10. I tried with both libssl1.0-dev (1.0.2n) and libssl-dev (1.1.1). Any idea how I can fix it, I never build any rust sources before. rustc 1.30.0, cargo 0.31.0.