Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeDependency('OpenSSL', env, dict(kwargs, modules=['OpenSSL::Crypto', 'OpenSSL::SSL'])) / README.md needs a tweak #114

Open
sscotter opened this issue Jul 16, 2024 · 0 comments

Comments

@sscotter
Copy link

Hi,

When bulidling on a Debian 12 machine following the instructions in the README.md ...

sudo apt install build-essential gperf libcap-dev libsystemd-dev pkg-config meson python3-sphinx
make
sudo make install 

... I get the following error ...

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mesonbuild/dependencies/detect.py", line 113, in find_external_dependency
    d = c()
        ^^^
  File "/usr/lib/python3/dist-packages/mesonbuild/dependencies/misc.py", line 709, in <lambda>
    cmake_class=lambda name, env, kwargs: CMakeDependency('OpenSSL', env, dict(kwargs, modules=['OpenSSL::Crypto', 'OpenSSL::SSL'])),
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mesonbuild/dependencies/cmake.py", line 127, in __init__
    raise DependencyException(msg)
mesonbuild.dependencies.base.DependencyException: CMake binary for machine 1 not found. Giving up.

Installing the libssl-dev package allows the packages to build successfully.

TL;DR - tweak README.md from ...

sudo apt install build-essential gperf libcap-dev libsystemd-dev pkg-config meson python3-sphinx

... to ....

sudo apt install build-essential gperf libcap-dev libsystemd-dev pkg-config meson python3-sphinx libssl-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant