Hi, thanks for creating this project. This is spelled "program", by the way.
This repository contains a small programm to decode a backup produced by Signal Android.
Quite frankly, I have no idea what I'm doing or have any experience in rust, and I've just had some (probably rookie) errors that I don't quite understand how to solve. When, I try to build, this happens.
Caused by:
process didn't exit successfully: C:\Users\Batman\AppData\Local\Temp\cargo-installtOQDxw\release\build\openssl-sys-2a237ba60393ffc1\build-script-main (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR
X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR
X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR
X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset
note: vcpkg did not find openssl: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'
--- 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.
Make sure you also have the development packages of openssl installed.
For example, libssl-dev on Ubuntu or openssl-devel on Fedora.
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.
It looks like you're compiling for MSVC but we couldn't detect an OpenSSL
installation. If there isn't one installed then you can try the rust-openssl
README for more information about how to download precompiled binaries of
OpenSSL:
', C:\Users\Batman.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-sys-0.9.63\build\find_normal.rs:174: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 compile signal-backup-decode v0.2.3, intermediate artifacts can be found at C:\Users\Batman\AppData\Local\Temp\cargo-installtOQDxw
Caused by:
build failed
This is on windows 10. Sorry to bother you, I'd be very thankful for assistance.
Hi, thanks for creating this project. This is spelled "program", by the way.
This repository contains a small programm to decode a backup produced by Signal Android.
Quite frankly, I have no idea what I'm doing or have any experience in rust, and I've just had some (probably rookie) errors that I don't quite understand how to solve. When, I try to build, this happens.
C:\Users\Batman>cargo install signal-backup-decode Updating crates.io index Installing signal-backup-decode v0.2.3 Compiling autocfg v1.0.1 Compiling winapi v0.3.9 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.26 Compiling version_check v0.9.3 Compiling unicode-xid v0.2.2 Compiling typenum v1.13.0 Compiling pkg-config v0.3.19 Compiling libc v0.2.94 Compiling vcpkg v0.2.12 Compiling syn v1.0.72 Compiling getrandom v0.2.2 Compiling serde_derive v1.0.125 Compiling memchr v2.4.0 Compiling serde v1.0.125 Compiling ahash v0.4.7 Compiling ppv-lite86 v0.2.10 Compiling bitflags v1.2.1 Compiling cc v1.0.67 Compiling unicode-width v0.1.8 Compiling lazy_static v1.4.0 Compiling log v0.4.14 Compiling byteorder v1.4.3 Compiling ryu v1.0.5 Compiling regex-syntax v0.6.25 Compiling subtle v2.4.0 Compiling anyhow v1.0.40 Compiling encode_unicode v0.3.6 Compiling protobuf v2.22.1 Compiling foreign-types-shared v0.1.1 Compiling openssl v0.10.34 Compiling number_prefix v0.3.0 Compiling smallvec v1.6.1 Compiling strsim v0.8.0 Compiling opaque-debug v0.3.0 Compiling cpufeatures v0.1.1 Compiling itoa v0.4.7 Compiling fallible-iterator v0.2.0 Compiling vec_map v0.8.2 Compiling once_cell v1.7.2 Compiling signal-backup-decode v0.2.3 Compiling cfg-if v0.1.10 Compiling fallible-streaming-iterator v0.1.9 Compiling infer v0.3.7 Compiling hashbrown v0.9.1 Compiling generic-array v0.14.4 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling textwrap v0.11.0 Compiling foreign-types v0.3.2 Compiling regex-automata v0.1.9 Compiling hashlink v0.6.0 Compiling rand_core v0.6.2 Compiling libsqlite3-sys v0.20.1 Compiling regex v1.5.4 Compiling rand_chacha v0.3.0 Compiling csv-core v0.1.10 Compiling quote v1.0.9 Compiling rand v0.8.3 Compiling openssl-sys v0.9.63 Compiling rusqlite v0.24.2 Compiling digest v0.9.0 Compiling crypto-mac v0.10.0 Compiling block-buffer v0.9.0 Compiling dlv-list v0.2.3 Compiling hmac v0.10.1 Compiling sha2 v0.9.4 Compiling hkdf v0.10.0 Compiling ordered-multimap v0.3.1 error: failed to run custom build command for
openssl-sys v0.9.63
Caused by: process didn't exit successfully:
C:\Users\Batman\AppData\Local\Temp\cargo-installtOQDxw\release\build\openssl-sys-2a237ba60393ffc1\build-script-main
(exit code: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset note: vcpkg did not find openssl: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'--- 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 theOPENSSL_DIR
environment variable for the compilation process.Make sure you also have the development packages of openssl installed. For example,
libssl-dev
on Ubuntu oropenssl-devel
on Fedora.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-pc-windows-msvc $TARGET = x86_64-pc-windows-msvc openssl-sys = 0.9.63
It looks like you're compiling for MSVC but we couldn't detect an OpenSSL installation. If there isn't one installed then you can try the rust-openssl README for more information about how to download precompiled binaries of OpenSSL:
https://github.com/sfackler/rust-openssl#windows
', C:\Users\Batman.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-sys-0.9.63\build\find_normal.rs:174: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 compilesignal-backup-decode v0.2.3
, intermediate artifacts can be found atC:\Users\Batman\AppData\Local\Temp\cargo-installtOQDxw
Caused by: build failed
This is on windows 10. Sorry to bother you, I'd be very thankful for assistance.