Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.44 KB | None | 0 0
  1. error: failed to run custom build command for `openssl-sys v0.9.53`
  2.  
  3. Caused by:
  4.   process didn't exit successfully: `/tmp/cargo-installxzgblb/release/build/openssl-sys-d7ec1b6f7e9693a6/build-script-main` (exit code: 101)
  5. --- stdout
  6. cargo:rustc-cfg=const_fn
  7. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  8. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  9. cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  10. OPENSSL_LIB_DIR unset
  11. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
  12. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
  13. cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  14. OPENSSL_INCLUDE_DIR unset
  15. cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
  16. X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
  17. cargo:rerun-if-env-changed=OPENSSL_DIR
  18. OPENSSL_DIR unset
  19. run pkg_config fail: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"`: No such file or directory (os error 2)"
  20.  
  21. --- stderr
  22. thread 'main' panicked at '
  23.  
  24. Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  25. proceed without this knowledge. If OpenSSL is installed and this crate had
  26. trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  27. compilation process.
  28.  
  29. Make sure you also have the development packages of openssl installed.
  30. For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
  31.  
  32. If you're in a situation where you think the directory *should* be found
  33. automatically, please open a bug at https://github.com/sfackler/rust-openssl
  34. and include information about your system as well as this message.
  35.  
  36. $HOST = x86_64-unknown-linux-gnu
  37. $TARGET = x86_64-unknown-linux-gnu
  38. openssl-sys = 0.9.53
  39.  
  40.  
  41. It looks like you're compiling on Linux and also targeting Linux. Currently this
  42. requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
  43. could not be found. If you have OpenSSL installed you can likely fix this by
  44. installing `pkg-config`.
  45.  
  46. ', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.53/build/find_normal.rs:150:5
  47. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
  48.  
  49. warning: build failed, waiting for other jobs to finish...
  50. error: failed to compile `sgxs-tools v0.7.0`, intermediate artifacts can be found at `/tmp/cargo-installxzgblb`
  51.  
  52. Caused by:
  53.  build failed
  54.     Summary Failed to install fortanix-sgx-tools, sgxs-tools (see error(s) above).
  55. error: some crates failed to install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement