Skip to content

Add distribution dependencies to the README.md #3

@CarlosCraveiro

Description

@CarlosCraveiro

[DOCS] Add distribution dependencies to the README.md

The Error

On Fedora 36 (Thirty Six) package openssl-devel is required to compile run-cli from source.

Without it i got the following error:

error: failed to run custom build command for `openssl-sys v0.9.77`

Caused by:
  process didn't exit successfully: `/home/coveiro/Repos/run-cli/target/release/build/openssl-sys-856093e4cb4b382b/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rustc-cfg=openssl
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  ...
  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
  ...
error: failed to compile `run-cli v0.9.1 (/home/coveiro/Repos/run-cli)`, intermediate artifacts can be found at `/home/coveiro/Repos/run-cli/target`

Suggestion

Add openssl-devel or libssl-dev (openssl developer package) as a dependency on the README.md, warning future users of the requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions