Building rogue on Mac OS El Capitan
2016-09-27
TechUsually you can install rogue with Homebrew(brew install rogue
). However, when you want to read the source code, you may want to compile it by hand. Here's how (based on the recipe file).
- Download http://pkgs.fedoraproject.org/repo/pkgs/rogue/rogue5.4.4-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue5.4.4-src.tar.gz and extract it
- (Optionally run
git init; git add .; git ci -m "untar"
so that you can easily check what you've changed) - run
brew install ncurses
- run
CPPFLAGS="-DNCURSES_OPAQUE=0" ./configure
- run
make
- run
./rogue
and the game will start.