Mac how-to wiki updates

Moved from githup issue:

http://www.trinitycore.info/How-to:Mac#Make_TrinityCore_Mac_OS_X_compilable

After compiling TrinityCore for Mac on 10.8.2 + App Store dev tools for the first time, I had to change a few things from the wiki instructions which I think should be true for all OS versions:

  1. the macport for libACE seems to now be named simply “ace”, libACE refuses to install as obsolete
  2. the ticket and patch links to google code for Mac compatibility are broken, and didn’t seem necessary to build the 4.3.4 branch, at least
  3. the cmake command for building the xcodeproj doesn’t work as-is for macports installs of mysql and ace:

macports mysql include: -DMYSQL_ADD_INCLUDE_PATH=/opt/local/include/mysql5/mysql
ace doesn’t install a static library: -DACE_LIBRARY=/opt/local/lib/libACE.dylib
the server processes insist on “thread safe mysql”, which seems to require subbing libmysqlclient_r for libmysqlclient: -DMYSQL_LIBRARY=/opt/local/lib/mysql5/mysql/libmysqlclient_r.dylib

Been stuck on this for ages (I’m a noob) thanks so much

Wiki updated, THANK YOU, gygias, a lot. That page had been outdated for a while

Let me know if any other change is required

i get this error

CMake Error at cmake/macros/FindMySQL.cmake:175 (message):
Could not find the MySQL libraries! Please install the development
libraries and headers
Call Stack (most recent call first):
CMakeLists.txt:51 (find_package)

im running mountain lion but kept configs to say snow leopard that might have something to do with it? but im too much of a noob at this to understand it :confused:

on first cmake command

“Could not find the MySQL libraries! Please install the development libraries and headers”

hmm…

I new trinitycore mac support was depreciating but when did the osx folder get removed from /TrinityCore/cmake/platform/

I can compile skyfireemu and the only big difference i can find is that fact that trinitycore doesnt have that osx folder??

I think OSX was merged with Unix, since that’s essentially what it is.