Thread: Competition 143
View Single Post
Old August 6, 2013, 03:56   #20
Join Date: Jun 2010
Location: Massachusetts, USA
Posts: 50
Darin is on a distinguished road
Originally Posted by DaviddesJ View Post
Would you be willing to give more step-by-step details? I'm sure I could figure it out, but I have no idea how to run the binary under X11, for example.
  1. Download the source tarball and unpack the archive.
  2. Open int-map.c in a text editor and replace the line
    #include <malloc.h>
    #include <malloc/malloc.h>
  3. Do the same with str-map.c
  4. Open the Terminal and cd to the src directory.
  5. Compile the source using the command
    make -f makefile.linux
  6. cd up a level and move the poschengband binary and the lib directory to a convenient directory. Alternatively, you can just remove the src directory and leave the binary and lib directory in place.
  7. Examine the lib directory and make sure there is a save directory. If not, then make an empty save directory.
  8. Install XQuartz or X11 (an optional install in the OS X install disk). Personally I prefer XQuartz since it is usually a more recent version.
  9. Open the XQuartz/X11 application and open a new terminal window from within the application (command-N in XQuartz).
  10. cd to the directory with the poschengband binary.
  11. To run poschengband use the command
    in the XQuartz/X11 terminal window.

Last edited by Darin; August 6, 2013 at 04:20.
Darin is offline   Reply With Quote