Jump to content
TrinityCore

SimonKaru

Plebs
  • Posts

    5
  • Joined

  • Last visited

Posts posted by SimonKaru

  1. Hi Nay! I've tried this and it cannot read a file from the openssl library... I've installed it with homebrew, here's the message:

    CMake Error at cmake/macros/FindOpenSSL.cmake:191 (file):

      file STRINGS file "/usr/local/ssl/openssl/opensslv.h" cannot be read.

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list):

      list GET given empty list

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/FindOpenSSL.cmake:204 (list):

      list GET given empty list

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/FindOpenSSL.cmake:205 (list):

      list GET given empty list

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/FindOpenSSL.cmake:206 (list):

      list GET given empty list

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH):

      math cannot parse the expression: "..`*10000 + ..`*100 + 0": syntax error,

      unexpected exp_TIMES, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or

      exp_NUMBER (4)

    Call Stack (most recent call first):

      cmake/macros/EnsureVersion.cmake:111 (NORMALIZE_VERSION)

      cmake/macros/FindOpenSSL.cmake:224 (ENSURE_VERSION_RANGE)

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message):

      TrinityCore needs OpenSSL version 1.0 but found version ..`

    Call Stack (most recent call first):

      dep/openssl/CMakeLists.txt:16 (find_package)

     

     

    -- Configuring incomplete, errors occurred!

    See also "/Users/<username>/Trinity/repo/cmake/CMakeFiles/CMakeOutput.log".

     

    Again, I'm using an admin account, but all the permissions seem to be broken.

    I've used the command cmake -DCMAKE_INSTALL_PREFIX=/usr .. -DOPENSSL_INCLUDE_DIR=/usr/local/ssl because it couldn't find the openssl library before.

    Could you maybe take the time to guide me through it?

    Simply writing the commands I should be using, so I don't mess up the configuration even more?

  2. Hi!
    I'm new to c++ programming and TC installation. I've been following all the directions and when I need to input the code "xcodebuild -target install -config Release" I get the following error message :

    === BUILD AGGREGATE TARGET install OF PROJECT TrinityCore WITH CONFIGURATION Debug ===

     

    Check dependencies

     

    PhaseScriptExecution CMake\ PostBuild\ Rules /Users/<username>/trinity/build/TrinityCore.build/Debug/install.build/Script-D663B11FF8DF4EC1A2D72E44.sh

        cd /Users/<username>/trinity/repo

        /bin/sh -c /Users/<username>/trinity/build/TrinityCore.build/Debug/install.build/Script-D663B11FF8DF4EC1A2D72E44.sh

    /usr/local/Cellar/cmake/3.8.1/bin/cmake -DBUILD_TYPE=Debug -P cmake_install.cmake

    -- Install configuration: "Debug"

    -- Installing: /bin/bnetserver

    CMake Error at src/server/bnetserver/cmake_install.cmake:32 (file):

      file INSTALL cannot copy file

      "/Users/<username>/trinity/build/src/server/bnetserver/Debug/bnetserver" to

      "/bin/bnetserver".

    Call Stack (most recent call first):

      src/server/cmake_install.cmake:35 (include)

      src/cmake_install.cmake:34 (include)

      cmake_install.cmake:33 (include)

     

     

    make: *** [install_buildpart_0] Error 1

    Command /bin/sh failed with exit code 2

     

    ** BUILD FAILED **

     

     

    The following build commands failed:

        PhaseScriptExecution CMake\ PostBuild\ Rules /Users/<username>/trinity/build/TrinityCore.build/Debug/install.build/Script-D663B11FF8DF4EC1A2D72E44.sh

    (1 failure)

     

    I've tried everything I could think of :

    Run the command with sudo from an admin account;

    Run the command from an admin account;

    Run the command from the root user;

    paste the bnetserver file in the bin directory myself...

     

    I've looked everywhere and nobody seems to have the same problem I encountered. Please help...

     

    I have an iMac(20-inch, Early 2008) running OS X El Capitan version 10.11.6

    Homebrew and all the core requirements are correctly installed counting as well the correct version of XCode.

×
×
  • Create New...