Skip to content

Updates for macos sequoia to run retroshare-service #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

redDwarf03
Copy link

No description provided.

@@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: CC0-1.0

cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.5)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will cause problems on other systems that use e.g. cmake 3.22 (like ubuntu 22.04). How is it that your system is complaining about the minimal version being too old? This is counterintuitive.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if i let 2.8.12, i have this error

 cmake -DRS_WEBUI=ON -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is AppleClang 17.0.0.17000013
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Found BZip2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libbz2.tbd (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found Git: /opt/homebrew/bin/git (found version "2.44.0")
-- libretroshare source found at /Users/SSe/SSe/app/Perso/RetroShare/retroshare-service/../libretroshare/ using it
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /opt/homebrew/Cellar/openssl@3/3.4.1/lib/libcrypto.dylib (found version "3.4.1")
-- openpgpsdk source found at /Users/SSe/SSe/app/Perso/RetroShare/libretroshare/../openpgpsdk/ using it
-- BitDHT submodule found at /Users/SSe/SSe/app/Perso/RetroShare/libretroshare/../libbitdht/ using it
CMake Error at /Users/SSe/SSe/app/Perso/RetroShare/libbitdht/CMakeLists.txt:8 (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.


-- Configuring incomplete, errors occurred!

any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants