Friday, April 13, 2012

Installing Dwarf Fortress and Dwarf Therapist on 64-bit fedora 16/17

Because losing is fun.

Dwarf Fortress:
 sudo yum install -y SDL{,_image}.i686 gtk2.i686 mesa-libGLU.i686 SDL_ttf.i686
Grab the latest linux pack for Phoebus with DF pre-installed from, untar and you should be good to go.

Dwarf Therapist:
sudo yum install -y mercurial qt-devel gcc-c++
Checkout a copy of the Dwarf Therapist code:
 cd ~/Downloads ; hg clone
Build with qmake/c++
 cd ~/Downloads/dwarftherapist/ ; qmake-qt4 && make && sudo make install
Therapist should now be in your path, and runnable from any directory with the 'dwarftherapist' command.
The only way I have been able to get this to run lately is from the directory it was built in, and not using the wrapper script (which is 'dwarftherapist' in all lower case):
 cd ~/Downloads/dwarftherapist ; DwarfTherapist