os-tips:osx10.8

This is an old revision of the document!


This guide covers Therion installation on OS X from source.

We will need

  • Xcode - install from AppStore
  • Command Line Tools - install using Install button in Xcode → Preferences → Downloads → Command Line Tools
  • Terminal - part of OS X installation
  • Some therion dependecies will be installed using Homebrew package manager.

Homebrew is package manager for OS X - Wikipedia

In comparison to other package managers like Fink or MacPorts Homebrew works hard to avoid package duplication - Homebrew compiles its packages against libraries built into OS X.

Install Homebrew - see instructions on http://mxcl.github.com/homebrew/

Install MacTeX package from http://www.tug.org/mactex/

Run following commands in Terminal:

brew update
brew doctor

follow (if any) instructions in results of “doctor” command

brew install lcdf-typetools
brew install wxmac
brew install freetype
brew install vtk
brew install --overwrite imagemagick
brew doctor 

“–overwrite” parameter you may use if problems with linking (there is another installation, not the brew's). ImageMagick is such case, it is installed by MacOSX Xcode installation, but evidently not all necessary files.

Download therion source code from http://therion.speleo.sk/download.php

Extract tarball to ~/Downloads

In Terminal run:

cd ~/Downloads/therion
make config-macosx
make
cd loch
make
cd ..
make install

Copy ~/Downloads/therion/loch/loch.app to Applications folder

  • os-tips/osx10.8.1590081452.txt.gz
  • Last modified: 4 years ago
  • by sluka