= Get it Running = [[TracNav(TracNav/TOC)]] == Mac OS X == == Installing the Utilities == 1. '''GCC, the GNU Compiler''':[[br]] Read about installation of the [http://www.tech-recipes.com/mac_system_administration_tips726.html MacOSX coding env] or just download the [http://developer.apple.com/tools/xcode/ "XCode Tools"] from the [https://connect.apple.com apple development center] where you will have to create an account if you don't have one already. Wow, the xcode package is about 300MB big! 2. '''Fink and Fink Commander''':[[br]] On the [http://fink.sourceforge.net/ fink] website you will find the fink program, which you will need to install the libraries. Go there to the download zone and get the binary (.dmg) version. 3. ''(optional)'' Now you will want to download the fink commander, its a gui for the fink program that makes it much easier to work with. you can get it from the [http://finkcommander.sourceforge.net/ sourceforge site] '''Install Autoconf''' [[br]] Download the newest * autoconf you can find from fink commander. [[br]] '''Install Subversion'''[[br]] Install subversion via the fink commander: choose the * svn-client-ssl package. To download the latest openAL source, you will use the cvs client also, use also fink to download it: * cvs To get OpenAL running under Panther, you will also want to install the [http://developer.apple.com/sdk/#QT QuickTime SDK]. This will install some headers, that OpenAl needs for comilation. === Installing the Libraries === Use the fink commander to install * sdl * sdl-image * sdl-mixer Unfortunately SDL_ttf is not installable via Fink Commander, so download the source directly from [http://www.libsdl.org/projects/SDL_ttf] and compile it yourself. Before installing the SDL_ttf library make sure you have freetype2.0 or later installed on your Mac. You can get it also with finkcommander: * freetype2.0 To install SDL_ttf to the fink directory use the following configure command: {{{ wraith user # ./configure --prefix=/sw/ }}} Then compile and install by revoking. You will have to be superuser to install the libraries (admin is not enough). To enable superuser login: {{{ wraith user # sudo passwd root }}} this will set the password for the root account if you havnt done this before. {{{ wraith user # ./configure . wraith user # make . wraith user # su . wraith user # make install }}} The [http://www.openal.com OpenAL] library is also not available in the fink commander. You will have to download it via cvs: {{{ cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository login (use password "guest") cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository co openal }}} To build it, just open the {{{openal/macosx/al_osx.pbproj}}} xcode project and click on the build button. == Compiling == Now switch to the linux guides and continue there with the compiling sections.