Hello,

Just wanted to make a tutorial on how to compile Arcemu, FOR MAC!
I know there is a lot of tutorials on how to compile Arcemu, but not for the Mac OS X.



Required Software...
- Mac OS X Snow Leopard 10.6+ (I think)
- Xcode
- MySQL Community Server - I prefer 32-bit.
- PCRE
Download links for that:
Xcode,MySQL Server,PCRE.

First of all. Install Xcode and the MySQL Community Server

We are going to use the Application Terminal in this guide.
Terminal is like Windows's Command Prompt. You have to run the commands in the Terminal that is quoted with the tag.



Terminal is located in your utilities Folder.


Install PCRE..

Unpack pcre-8.10.tar.bz2 and compile it:

Code:
cd ~/Downloads/pcre-8.10
Code:
./configure --prefix=/usr/local/mysql --libdir=/usr/local/mysql/lib --includedir=/usr/local/mysql/include --enable-utf8 --enable-unicode-properties
Code:
 make -j3
(-jX - X = amount of cores. So if you have a dual core, then simply write "make -j2" (without quotes) and so on)

Code:
sudo make install
(password: (USER PASSWORD))
Getting the Sourcecode...
Download the latest revision of ArcEmu's SVN.
Code:
svn checkout https://arcemu.svn.sourceforge.net/svnroot/arcemu/trunk
Compile ArcEmu...
Code:
cd ~/trunk
1.Start compiling:
Code:
autoreconf -f -i
2.You can use „../configure --help“ for more information on the configure options.
Code:
./configure --prefix=/opt/arcemu --with-mysql=/usr/local/mysql/bin/mysql_config --with-pcre=/usr/local/mysql
3.With make -j3, change 3 to the number of processors*2 in your Mac. Affects compile speed.

Code:
make -j3
4.Install (requires admin password):

Code:
sudo make install
All files are now located in /opt/arcemu.

You have now compiled ArcEmu for Mac OS X.
A tutorial on how to download a database too will be added later.

I really hope you liked this tutorial. Questions or comments?? Just ask here.


Credits: Lbniese (me) - For making the tutorial.


› See More: [Tutorial] Compiling ArcEmu for Mac OS X