The-Cataclysm-Preservation-Project / TrinityCore

Archived repository for WoW 4.3.4.15595. The project will be reworked for Cataclysm Classic as an official new branch of TrinityCore at https://github.com/TrinityCore/TrinityCore
GNU General Public License v2.0
239 stars 97 forks source link

Debian Bullseye - CMake Issue?! #410

Closed JustZerooo closed 11 months ago

JustZerooo commented 11 months ago

Description:

On linux debian 11 there is an issue with cmake maybe, cannot really identify what happend here.

Current behaviour:

tcpp@Debian-bullseye-latest-amd64-base:~/TrinityCore/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/$USER/server -DTOOLS=1
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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
-- Detected 64-bit platform
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/cc
-- Clang: Minimum version required is 11.0.0, found 11.0.1 - ok!
-- Performing Test CLANG_HAS_PCH_INSTANTIATE_TEMPLATES
-- Performing Test CLANG_HAS_PCH_INSTANTIATE_TEMPLATES - Success
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- Found Git: /usr/bin/git (found suitable version "2.30.2", minimum required is "1.7")

* TrinityCore revision   : 9d6a808ba6cf 2023-07-30 18:39:03 +0200 (master branch)
* TrinityCore buildtype  : RelWithDebInfo

* Install core to        : /home/tcpp/server
* Install libraries to   : /home/tcpp/server/lib

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (static)
* Build map/vmap tools   : Yes (default)
* Build unit tests       : No (default)
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Show source tree       : Yes (hierarchical)
* Use GIT revision hash  : Yes (default)

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Performing Test STD_HAS_WORKING_WREGEX
-- Performing Test STD_HAS_WORKING_WREGEX - Success
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum requir                                                                                                              ed is "1.71") found components: system filesystem thread program_options iostreams
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Looking for MADV_FREE
-- Looking for MADV_FREE - found
-- Looking for strtod_l
-- Looking for strtod_l - not found
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:246 (message):
  Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS():
  "HANDLE_VERSION_RANGE"
Call Stack (most recent call first):
  cmake/macros/FindOpenSSL.cmake:594 (find_package_handle_standard_args)
  dep/openssl/CMakeLists.txt:14 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/tcpp/TrinityCore/build/CMakeFiles/CMakeOutput.log".
See also "/home/tcpp/TrinityCore/build/CMakeFiles/CMakeError.log".

CMakeError.log CMakeOutput.log

Expected behaviour:

Compile Core?!

Steps to reproduce the problem:

-

TC rev. hash/commit:

9d6a808ba6cf 2023-07-30 18:39:03 +0200 (master branch)

TDB version: CHANGEME Version of the TrinityCore database

Operating system: CHANGEME OS

Debian 11 :

tcpp@Debian-bullseye-latest-amd64-base:~/TrinityCore/build$ uname -a
Linux Debian-bullseye-latest-amd64-base 5.10.0-23-amd64 #1 SMP Debian 5.10.179-2 (2023-07-14) x86_64 GNU/Linux
Ovahlord commented 11 months ago

5bc189372beadad1cf06e2b30dd695d4a2d67faa