1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
This document lists the requirements and additional
procedures for compiling and installing Conquest 8.0.1+ under
Cygwin ( www.cygwin.com ) for MS Windows systems.
- When installing Cygwin, make sure you also install the
following packages:
ncurses
cygipc
bison
flex
crypt
For the OpenGL client (conquestgl), you will need the X11
(xorg-x11-*), Mesa (opengl), and GLUT (opengl?) packages
(runtime and development) installed.
these are in addition to the development packages (gcc,
etc) of course.
- before compiling Conquest, make sure the ipc deamon is
running (from the cygipc package). This program must also
be running before starting any Conquest executables.
To start the daemon:
ipc-daemon2 &
- When compiling conquest, you should specify a group to
configure, like:
./configure --with-counquest-group=<group name>
The default is to use group 'Users' which may not exist
in your locale (for example, in Germany, this group is
'Benutzer').
Use
cat /etc/groups
in a Cygwin shell to see what groups you currently have
available.
Group ownership is used on unix/linux to prevent cheating -
this isn't really an issue on Windows, since it is not
likely ever going to be providing shell access to internet
users. It's really just a formality on Windows systems, and
conqoper will not pay attention to this on Cygwin systems
anyway.
- by default, Conquest will want to install all of it's
exectuables and data files in the /opt hierarchy. You can
change this of course with the '--prefix=' option to
'configure'. If you elect to go with the default of /opt,
make sure you add the path to the executables to your
shell's PATH variable. For example:
edit /etc/profile, and add the following near the bottom:
export PATH="$PATH:/opt/bin"
- If you want line drawing to work properly, also add the
following to /etc/profile:
export CYGWIN="$CYGWIN codepage:oem"
- Instructions for compiling, installing, and running Conquest
are the same as unix otherwise. See the INSTALL, and README
files for more information.
- The Cygwin console seems to work best for playing Conquest.
I have messed with rxvt, but it's color assignments don't
match what Conquest expects (via curses). As a result, if
you prefer a black background, which Conquest does, Some
text won't be displayed properly (as it's black instead of
the white it should be').
Curses color does appear to work correctly in the cygwin
consoles.
I have not figured out how to get the functions keys to work
(for macros). If someone knows the magic, let me know it
too :)
To run the OpenGL client, you will need to run it from within
an X11 session. Any easy way at the cygwin console is:
xinit &
From within X, open up an xterm and just run 'conquestgl' with
appropriate options.
Thanks to Sean for trying out these cygwin versions, providing
some valuable feedback, and most of the content of this
document.
$Id: README.cygwin,v 1.2 2004/11/14 22:34:04 jon Exp $
|