forked from opentibia/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Compiling OTServ under OSX using the Terminal
Hampus Joakim Nilsson edited this page Aug 3, 2012
·
1 revision
This guide describes how to install OTServ using the terminal on mac OSX. Begin by opening up the terminal prompt.
First you need to intsall homebrew, if you have not done so already. Paste this one-liner into the terminal and run it:
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
This should finish without error, now we can move on to actually getting OTServ to run
Now we need to install the packages required to configure and run OTServ, run:
homebrew install autoconf automake gmp boost lua libxml2 sqlite3
This will install all tools required to compile the server.
Download a .zip of the server master branch here: https://github.com/opentibia/server/zipball/master and extract it in your home folder.
In the terminal, enter the otserver folder by doing:
cd ~/opentibia-server-<long code, hit tab to autocomplete it>
cd ~/Source
Now you are poised to start the compilation, run:
./autogen.sh
./configure --enable-sqlite