Jump to content
TrinityCore

Echelon

Plebs
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Echelon

  1. I'm getting this error on a `make` attempt: [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o /home/wotlkserver/TrinityCore/src/server/database/Database/MySQLConnection.cpp: In member function ‘virtual uint32 MySQLConnection::Open()’: /home/wotlkserver/TrinityCore/src/server/database/Database/MySQLConnection.cpp:148:34: error: ‘MYSQL_OPT_SSL_ENFORCE’ was not declared in this scope mysql_options(mysqlInit, MYSQL_OPT_SSL_ENFORCE, (char const*)&opt_use_ssl); ^~~~~~~~~~~~~~~~~~~~~ /home/wotlkserver/TrinityCore/src/server/database/Database/MySQLConnection.cpp:148:34: note: suggested alternative: ‘MYSQL_OPT_LOCAL_INFILE’ mysql_options(mysqlInit, MYSQL_OPT_SSL_ENFORCE, (char const*)&opt_use_ssl); ^~~~~~~~~~~~~~~~~~~~~ MYSQL_OPT_LOCAL_INFILE make[2]: *** [src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/database/CMakeFiles/database.dir/all] Error 2 make: *** [all] Error 2 Here's the output of the cmake, it it helps: [wotlkserver@barleycorn build]$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/wotlkserver/trinitycore -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc -- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ -- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected 64-bit platform -- UNIX: Using default configuration directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Using default system linker -- UNIX: Detected compiler: /opt/rh/devtoolset-8/root/usr/bin/cc -- GCC: Minimum version required is 8.3.0, found 8.3.1 - ok! -- GCC: SFMT enabled, SSE2 flags forced -- Using mysql-config: /bin/mysql_config -- Found MySQL library: /usr/lib64/mysql/libmysqlclient.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /bin/mysql -- Found Git: /bin/git (found suitable version "1.8.3.1", minimum required is "1.7") * TrinityCore revision : b0bba61460ec+ 2022-04-11 21:07:25 +0300 (3.3.5 branch) * TrinityCore buildtype : RelWithDebInfo * Install core to : /home/wotlkserver/trinitycore * Install configs to : /home/wotlkserver/trinitycore/etc * 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 -- Found Boost: /usr/local/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.71") found components: system filesystem program_options iostreams regex -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") -- Looking for strtod_l -- Looking for strtod_l - not found -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k") found components: Crypto SSL -- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- Found OpenSSL headers: /usr/include -- Looking for MADV_FREE -- Looking for MADV_FREE - not found -- Found Readline: /usr/lib64/libreadline.so (found version "6.2") -- Found Readline library: /usr/lib64/libreadline.so -- Found Readline headers: /usr/include -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found * Script configuration (static): | +- worldserver | +- Battlefield | +- Commands | +- Custom | +- EasternKingdoms | +- Events | +- Kalimdor | +- Northrend | +- OutdoorPvP | +- Outland | +- Pet | +- Spells | +- World | -- Configuring done -- Generating done -- Build files have been written to: /home/wotlkserver/TrinityCore/build Any help is greatly appreciated.
×
×
  • Create New...