[[OutdatedPage]] = MacOSX = [[TracNav(TracNav/TOC_install)]] == 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 have to create an account if you don't have one already. 2. '''Fink''':[[br]] On the [http://fink.sourceforge.net/ fink] website you will find fink, which you will need to install the libraries. Go to the download area there and get the binary (.dmg) version of fink. 3. '''Fink Commander''': Now you can download the fink commander, which is a GUI for fink, that makes it much easier to work with. You can get it from [http://finkcommander.sourceforge.net/ sourceforge]. '''Fink Utilities''' These utilities must be install with fink. Either you do it with the finkcommander or you write: {{{ $ fink list [package-part-name] // choose the one you like and $ fink install [package-name] // fill in the name of the actual package here }}} You need the following packages: 1. '''Autoconf''' [[br]] {{{ $ fink install autoconf }}} 2. '''Subversion with SSL'''[[br]] {{{ $ fink install svn-client-ssl }}} package. === Installing the Libraries === 1. X-code must be installed. 2. You can find a collection of all Tools and Libraries you need [http://svn.orxonox.net/webdev/develop/osX here] 2. Install the SDL framework and read the documentation on the [http://www.libsdl.org SDL] download section Use the fink commander to install * '''glew''' * '''sdl''' * '''sdl-image''' Unfortunately SDL_ttf is not installable with Fink Commander, so download the source directly from [http://www.libsdl.org/projects/SDL_ttf] and compile it yourself. Before installing SDL_ttf make sure you have freetype2.0 or later installed on your Mac. You can also get freetype2.0 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 have to change to superuser to install the libraries: {{{ wraith user # sudo passwd root }}} this will set the password for the root account if you havnt done this before. {{{ wraith user # ./autogen.sh wraith user # ./configure . wraith user # make . wraith user # sudo make install }}} == Compiling == Switch to the [wiki:LinuxGentoo Gentoo Linux] guide and continue with the compiling sections.