PragmaTwice opened a new issue, #2865:
URL: https://github.com/apache/kvrocks/issues/2865

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   ```
   CMake Error at build/_deps/libevent-src/CMakeLists.txt:22 
(cmake_minimum_required):
     Compatibility with CMake < 3.5 has been removed from CMake.
   
     Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
     to tell CMake that the project requires at least <min> but has been updated
     to work with policies introduced by <max> or earlier.
   
     Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
   ```
   
   Seems that cmake version requirement of libevent is too low (3.1, from 
https://github.com/libevent/libevent/blob/release-2.1.12-stable/CMakeLists.txt#L22).
 We have two methods:
   - upgrade libevent (no new stable version, so we need to switch to a commit 
in main branch);
   - add some cmake arguments to avoid the error.
   
   ### Minimal reproduce step
   
   --
   
   ### What did you expect to see?
   
   --
   
   ### What did you see instead?
   
   --
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to