[Mac Guide] Compile Arcemu 3.3.2 on Mac menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Xspence's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Mac Guide] Compile Arcemu 3.3.2 on Mac

    DISCLAIMER: I, ARCEMU, NOR MMOWNED IS RESPONSIBLE FOR WHAT YOU DO FOLLOWING THIS GUIDE. IF YOU, AT ANY POINT DO NOT FEEL THAT IT IS IN YOU INTEREST TO CONTINUE, PLEASE PRESS "CONTROL-C" TO SAFELY SHUTDOWN ANY TERMINAL OPERATIONS THAT ARE OCCURRING. THIS GUIDE HAS BEEN TESTED MULTIPLE TIMES BY ME AND THE MAC COMMUNITY. THIS DOES NOT MEAN IT IS 100% BUG-FREE!!

    -------------
    Summary
    -------------


    In this tutorial I will explain how to obtain and safely run a Arcemu 3.x.
    There are two options: Arcemux (currently only supporting 3.3.2) or my guide on compiling the 3.3.2 source (which can be updated and configured to your standards).

    -----------------------
    Option 1: Arcemux
    -----------------------


    Requirements: Mac OS X Snow Leopard 10.6.1
    Time Required: ~ 20-30 minutes
    Versions supported: 3.3.2
    Difficulty: Newbie-Medium

    Download it here.

    This option is Newbie friendly because it gives excellent support,
    multi-language databases and direct downloads.
    It even compiles it for you and extracts all the files and puts them in your /Arcemu/ directory.

    ----------------------
    Option 2: Compile it yourself
    ----------------------


    Requirements: Mac OS X Leopard 10.5 / Apple Developer Tools (2 GB) / Admin privileges for your computer (because some steps call for a "sudo" command; a powerful command forcing operations not allowed by normal means)
    Time required: ~ 30-50 minutes
    Versions supported: 3.0.1-3.3.2
    Difficulty: Medium-Hard

    Note: It is suggested that you copy and paste from this post into the terminal to avoid the risk of messing up your Mac (since you are playing around with the inner kernel and such ...no pressure!)

    For those of you who believe that I copied this directly from the Arcemu Wiki, that is partially true, yet they have not updated their wiki since 2.4.3.

    1. Open Terminal: /Applications/Utilities/Terminal.app

    2. Type:
    Code:
    cd desktop
    You can cd to any directory, but we will be using this as our base for simplistic purposes.

    3. Then type:
    Code:
    svn co svn://arcemu.info/svn/trunk
    4. Give it about 3 minutes. You should have a directory on your desktop named "trunk" now.

    5. We need to prepare Mysql now. If you do not have it, download it and install it here.

    6. Type:
    Code:
    sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    Note: This requires you to enter your administrative password to continue. You MUST be the administrator and have mysql installed on the administrative user, else you will not be able to continue.

    7. If you get an error that says "ln: /var/mysql/mysql.sock: No such file or directory" do the following:

    - type:
    Code:
    sudo mkdir /var/mysql
    - Then:
    Code:
    export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
    - then repeat step 6

    8. Then export the following in your .bash_profile:
    Code:
    export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
    9. Now close that window and open a new one. Type:
    Code:
    cd ~/desktop/trunk/
    10. Then type:
    Code:
    autoreconf -f -i
    This prepares the code for compiling.

    11. Download the PCRE Library:
    Code:
    http://sourceforge.net/project/showfiles.php?group_id=10194
    12. Cd to the PCRE folder and type:
    Code:
    ./configure --prefix=/usr/local
    13. Then:
    Code:
    ./configure --prefix=/usr/local
    14. Then close the window and open a new one. Cd back to your source and type:
    Code:
    ./configure --prefix=/arcemu/server--with-mysql=/usr/local/mysql/bin/mysql_config
    15. Up until now has all been preparation for compiling the source. To optimize the code for compiling, type:
    Code:
    sh make_precompiled_header.sh
    Please note that this will take about 10 minutes. DO NOT INTERRUPT!

    16. Then type:
    Code:
    sudo make -j#
    - replace the # with the number of cores (+ 1) that you have free. The higher the number, the faster it will compile, but it will make you computer lag and you will not be able to run heavy applications such as games or emulators. Add 1 to the number of cores you'd like to use. So... "sudo make -j3" would mean that I'm using 2 cores.

    This requires about 10 more minutes. Again, DO NOT INTERRUPT!

    17. Now to finish off the process... Type:
    Code:
    sudo make install
    This requires around 10-20 minutes. DO NOT INTERRUPT!

    18. In most cases, when it was compiling, it left out the part about establishing an etc directory under "/Arcemu/Server/"
    Type the following to create that:
    Code:
    sudo mkdir /arcemu/server/etc
    19. Then type:
    Code:
    sudo cp configs/*.conf /arcemu/server/etc/
    This copies all the configuration files over to the etc folder

    20. Download this. Place the folder in your "/Arcemu/Server/bin" directory.

    Note: Maps are not needed unless you're running 40 man raids or want working battlegrounds

    -------------------
    Database Setup:
    -------------------

    1. Navigat to the directory: ~/Desktop/trunk/src/

    2. You should see 3 files with the extension ".sql"

    3. Download Sequel Pro - the best Mysql Manager out there (in my opinion).

    5. Fill in your database's information.

    6. Create a new database named "world"

    7. Navigate to that database and then select the menu tab named "Query"

    8. Go into you /trunk/src/ folder and open one of the .sql files. Then copy it into the Query and run it. This shouldn't take to long since there are only 3 sql files.

    9. Go into accounts and create a new account.

    10. Wahalh! You're good to go!

    --------------------------------
    Time to rev up that engine!
    --------------------------------

    Here's how you start it up each time...

    1. Open up terminal

    2. Type:
    Code:
    cd /arcemu/server/bin
    3. Then:
    Code:
    ./arcemu-logonserver
    4. Press Command-T (⌘-T) to make a new tab and type:
    Code:
    cd /arcemu/server/bin
    5. Then:
    Code:
    ./arcemu-world
    Note: To safely shut it down at any time, simply type:
    Code:
    shutdown #
    - Replace the # with the seconds until shutdown. 1 meaning 1 second, 0 meaning instant. This will be echoed in game.

    To force quit, press
    Code:
    Control-C  DO NOT TYPE THIS! IT WILL DO NOTHING

    The guide on the Arcemu wiki page is for 10.5.8. So I updated it for snow leopard. Yes, some things ARE different.


    Please do not flame because I/we are mac users. I hate the whole "I'm better than you!" argument. Grow up and build your own PC or Mac ()

    Need live help? AIM/iChat: [email protected]
    Last edited by Xspence; 04-30-2010 at 07:00 PM. Reason: Updating

    [Mac Guide] Compile Arcemu 3.3.2 on Mac
  2. #2
    Xspence's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I hope all you mac ppl enjoyed this
    Last edited by Xspence; 03-16-2010 at 10:37 PM.

  3. #3
    markscore's Avatar Private
    Reputation
    1
    Join Date
    Apr 2010
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I'm stuck at step 7. Terminal says "No such file or directory" but you don't specify what to type:

    - type: - then repeat step 6
    please elaborate as I don't know what you mean we should type there.

    Cheers.

  4. #4
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got a problem once it get to sh make_precompiled_header.sh. It says no such file or directory...

    Also I don't know if it's also a problem but in the step before that, this came up configure: error: *** mysql client library not found. Please install it.
    Last edited by covert_cat; 07-24-2010 at 04:48 AM.

  5. #5
    Xspence's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by covert_cat View Post
    Got a problem once it get to sh make_precompiled_header.sh. It says no such file or directory...

    Also I don't know if it's also a problem but in the step before that, this came up configure: error: *** mysql client library not found. Please install it.
    You need to install MySQL. You can download it from here.

  6. #6
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I installed MySQL first thing. I'm not that stupid. But I got my server to work following JeremyMeile's compiling guide, so it's all good now +rep for the guide though, as it looks like it would work for everyone else. I'm just unlucky like that.

Similar Threads

  1. [Guide]Compiling ArcEmu+public+website setup
    By palkiake in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 01-17-2013, 09:08 PM
  2. [Legendary Guide] Compile ArcEmu From Scratch
    By Found in forum WoW EMU Guides & Tutorials
    Replies: 18
    Last Post: 08-21-2009, 07:52 AM
  3. Your guide to compiling Arcemu.
    By Skatee in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 06-10-2009, 02:48 PM
  4. How to compile ArcEmu (Mac)
    By f1racer328 in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 03-04-2009, 03:51 AM
  5. [Guide] How to Compile ArcEmu (FOR NOOBS)
    By DarkFever in forum WoW EMU Guides & Tutorials
    Replies: 22
    Last Post: 03-02-2009, 01:15 PM
All times are GMT -5. The time now is 10:09 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search