Skip to content

cmake build error on CentOS Stream 10 #3027

Description

@leafok88

I tried building version 3.3.6 with PCRE2 integration. The newly added CMakefile works well on Debian 13 with default switches.
However, it didn't work on CentOS Stream 10. The error message was reported as below.

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEV
LIBMBEDCRYPTO
LIBMBEDTLS
LIBPCRE2
LIBSODIUM
LIBUDNS
...
CMake Generate step failed. Build files cannot be regenerated correctly.

I checked the libev-devel rpm package and found that it does not provide libev.a. That is different from correpsonding Debian package.

The workaround I found is to set WITH_STATIC=OFF.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions