How to compile PennMUSH 1.8.x under Windows (Cygwin 1.5.19-4) -------------------------------------------------------------- by Alan Schwartz <javelin@pennmush.org> Last update: Monday, 13 February 2006 A note on install locations: The entire process goes much more smoothly if you install all of the required packages in directories that do not have spaces anywhere in the path name. So Program Files is not the best location. C:\cygwin is the usual default. 1. Download and run the Cygwin setup.exe from http://www.cygwin.com 2. During package selection, select the following packages in addition to the Base and other default selections: From Devel: binutils gcc gcc-core make From Libs, if you want SSL: openssl openssl-devel From Perl: perl From Shells: bash From Utils: gnupg if you want to to verify signatures on penn dists patch Accept all dependencies needed to install these packages. 3. Start a cygwin bash shell and use that for all the following steps. 4. `cd' to the desired install location with the .tar.gz file and unpack the downloaded <version> with: tar xzf pennmush-<version>.tar.gz Again, life is easier if your install location has no spaces in directory names. If your username has no spaces, unpacking in /home/yourname works fine. 5. cd pennmush then type: ./Configure -d 6. Now type: cp options.h.dist options.h and edit options.h as desired, keeping the following suggestions in mind: a. Use MALLOC_PACKAGE 0 (probably the default already) b. Do *NOT* define INFO_SLAVE Hopefully the last be changed in the future. 7. Do a `make install' This will build the necessary files and install the necessary symbolic links. 8. Read game/README and follow those instructions. You will also need to edit game/restart and explicitly set the GAMEDIR variable to your installation path, an example is: /home/noltar/pennmush/game