| 1 |
How to compile PennMUSH 1.8.x under Windows (Cygwin 1.5.19-4) |
|---|
| 2 |
-------------------------------------------------------------- |
|---|
| 3 |
by Alan Schwartz <javelin@pennmush.org> |
|---|
| 4 |
|
|---|
| 5 |
Last update: Monday, 13 February 2006 |
|---|
| 6 |
|
|---|
| 7 |
A note on install locations: |
|---|
| 8 |
The entire process goes much more smoothly if you install |
|---|
| 9 |
all of the required packages in directories that do not have |
|---|
| 10 |
spaces anywhere in the path name. So Program Files is not |
|---|
| 11 |
the best location. C:\cygwin is the usual default. |
|---|
| 12 |
|
|---|
| 13 |
1. Download and run the Cygwin setup.exe from http://www.cygwin.com |
|---|
| 14 |
|
|---|
| 15 |
2. During package selection, select the following packages in |
|---|
| 16 |
addition to the Base and other default selections: |
|---|
| 17 |
|
|---|
| 18 |
From Devel: |
|---|
| 19 |
binutils |
|---|
| 20 |
gcc |
|---|
| 21 |
gcc-core |
|---|
| 22 |
make |
|---|
| 23 |
From Libs, if you want SSL: |
|---|
| 24 |
openssl |
|---|
| 25 |
openssl-devel |
|---|
| 26 |
From Perl: |
|---|
| 27 |
perl |
|---|
| 28 |
From Shells: |
|---|
| 29 |
bash |
|---|
| 30 |
From Utils: |
|---|
| 31 |
gnupg if you want to to verify signatures on penn dists |
|---|
| 32 |
patch |
|---|
| 33 |
|
|---|
| 34 |
Accept all dependencies needed to install these packages. |
|---|
| 35 |
|
|---|
| 36 |
3. Start a cygwin bash shell and use that for all the following steps. |
|---|
| 37 |
|
|---|
| 38 |
4. `cd' to the desired install location with the .tar.gz file |
|---|
| 39 |
and unpack the downloaded <version> with: |
|---|
| 40 |
|
|---|
| 41 |
tar xzf pennmush-<version>.tar.gz |
|---|
| 42 |
|
|---|
| 43 |
Again, life is easier if your install location has no spaces |
|---|
| 44 |
in directory names. If your username has no spaces, unpacking |
|---|
| 45 |
in /home/yourname works fine. |
|---|
| 46 |
|
|---|
| 47 |
5. cd pennmush then type: |
|---|
| 48 |
|
|---|
| 49 |
./configure |
|---|
| 50 |
|
|---|
| 51 |
6. Now type: |
|---|
| 52 |
|
|---|
| 53 |
cp options.h.dist options.h |
|---|
| 54 |
|
|---|
| 55 |
and edit options.h as desired, keeping the following |
|---|
| 56 |
suggestions in mind: |
|---|
| 57 |
|
|---|
| 58 |
a. Use MALLOC_PACKAGE 0 (probably the default already) |
|---|
| 59 |
b. Do *NOT* define INFO_SLAVE |
|---|
| 60 |
|
|---|
| 61 |
Hopefully the last be changed in the future. 'make update' might |
|---|
| 62 |
work instead of manually copying. |
|---|
| 63 |
|
|---|
| 64 |
7. Do a `make install' This will build the necessary files and |
|---|
| 65 |
install the necessary symbolic links. |
|---|
| 66 |
|
|---|
| 67 |
8. Read game/README and follow those instructions. |
|---|
| 68 |
You will also need to edit game/restart and explicitly |
|---|
| 69 |
set the GAMEDIR variable to your installation path, an |
|---|
| 70 |
example is: |
|---|
| 71 |
|
|---|
| 72 |
/home/noltar/pennmush/game |
|---|
| 73 |
|
|---|
| 74 |
|
|---|