azerothcore/wiki

Mac OS dashboard bash compatibility doc

Helias opened this issue · 0 comments

Describe the bug
The acore.sh dashboard is not properly configured for Mac OS.

To reproduce
Steps to reproduce the behavior:

  1. clone repository azerothcore/azerothcore-wotlk
  2. run ./acore.sh compiler all (after the first compiler all use compiler build to be faster
  3. the compilation will never end

Expected behavior
The compilation should finish

Solution
Change the MTHREADS variable in config.sh with the number of your CPU cores.
Change the CCUSTOMOPTIONS variable with the following cmake options.

CCUSTOMOPTIONS="-DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl@1.1/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl@1.1/lib/libcrypto.dylib"

Minor thing: update the wiki to install openssl@1.1 and set properly the cmake config.

TODO: I've to put this in the documentation

Desktop (please complete the following information):

  • OS: Mac
  • Version: Big Sur 11.6