SHARE
TWEET

Untitled

a guest Feb 18th, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   Compiling structopt v0.3.9
  2. error: failed to run custom build command for `openssl-sys v0.9.53`
  3.  
  4. Caused by:
  5.   process didn't exit successfully: `/home/user/witnet-rust/target/release/build/openssl-sys-b89c18111b759b69/build-script-main` (exit code: 101)
  6. --- stdout
  7. cargo:rustc-cfg=const_fn
  8. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  9. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  10. cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  11. OPENSSL_LIB_DIR unset
  12. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
  13. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
  14. cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  15. OPENSSL_INCLUDE_DIR unset
  16. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
  17. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
  18. cargo:rerun-if-env-changed=OPENSSL_DIR
  19. OPENSSL_DIR unset
  20. run pkg_config fail: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"`: No such file or directory (os error 2)"
  21.  
  22. --- stderr
  23. thread 'main' panicked at '
  24.  
  25. Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  26. proceed without this knowledge. If OpenSSL is installed and this crate had
  27. trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  28. compilation process.
  29.  
  30. Make sure you also have the development packages of openssl installed.
  31. For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
  32.  
  33. If you're in a situation where you think the directory *should* be found
  34. automatically, please open a bug at https://github.com/sfackler/rust-openssl
  35. and include information about your system as well as this message.
  36.  
  37. $HOST = x86_64-unknown-linux-gnu
  38. $TARGET = x86_64-unknown-linux-gnu
  39. openssl-sys = 0.9.53
  40.  
  41.  
  42. It looks like you're compiling on Linux and also targeting Linux. Currently this
  43. requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
  44. could not be found. If you have OpenSSL installed you can likely fix this by
  45. installing `pkg-config`.
  46.  
  47. ', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.53/build/find_normal.rs:150:5
  48. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
  49.  
  50. warning: build failed, waiting for other jobs to finish...
  51. error: build failed
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top