tMore detailed instructions on how to set up Cygwin to build dopewars under Win32 are now included. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 69b001c616ea9e5cdc526cab1dd4c2420e52dc87
 (DIR) parent 97f243ba85760e3cf29058965854e98359c0432f
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Thu, 12 Sep 2002 12:28:33 +0000
       
       More detailed instructions on how to set up Cygwin to build dopewars
       under Win32 are now included.
       
       
       Diffstat:
         M INSTALL                             |      87 +++++++++++++++++++++++--------
       
       1 file changed, 65 insertions(+), 22 deletions(-)
       ---
 (DIR) diff --git a/INSTALL b/INSTALL
       t@@ -1,19 +1,9 @@
        PREREQUISITES
       +=============
        
        dopewars _requires_ the GLib library for compilation, even when not using
        the GTK+ client. Other libraries may be required for additional features:-
        
       -Windows:
       -   - Get Cygwin from http://sourceware.cygnus.com/cygwin/. It should be
       -     possible to build dopewars with C compilers other than Cygwin, but
       -     this is not supported. Make sure that when you install Cygwin you
       -     select the "mingw" package for install.
       -   - Get GLib from http://www.gimp.org/~tml/gimp/win32/. The various header
       -     files need to be placed in /usr/include/mingw/ of your Cygwin
       -     installation, while the GLib DLL eventually needs to be placed either
       -     in the same directory as the dopewars binary, or your Windows directory.
       -     Later versions of GLib depend on IConv, so also install this if required.
       -
        Unix/Linux:
           - Get GLib from http://www.gtk.org/
           - For the GTK+ client, GTK+ libraries are needed, also from
       t@@ -22,7 +12,54 @@ Unix/Linux:
           - For the curses client, curses, ncurses or libcurses_color libraries
             and headers are required.
        
       +Windows:
       +   - Get Cygwin from http://www.cygwin.com/. It should be possible to build
       +     dopewars with C compilers other than Cygwin, but this is not supported.
       +     Make sure that when you install Cygwin you select the following packages
       +     for installation:-
       +         pkgconfig gettext libiconv w32api mingw-runtime gcc make bash unzip
       +   - If you want to build from CVS, you will also need the following:-
       +         autoconf automake gettext-devel
       +   - dopewars requires GLib for Win32, which in turn requires libintl and
       +     libiconv. Links to the binary distributions of these can be found at
       +     http://www.gimp.org/win32/downloads.html. (You can also build them from
       +     the source code, but this is not described here.) The binary packages
       +     that you will need are:-
       +         glib-2.0.6-20020802.zip
       +         glib-dev-2.0.6-20020802.zip 
       +         libintl-0.10.40-20020310.zip
       +         libiconv-1.7-w32.bin.zip (from the "Libiconv for Win32" link)
       +     Later versions of any of these packages should also work. Note that the
       +     libintl and libiconv Cygwin packages will NOT suffice here.
       +   - These packages need to be installed on your Cygwin system under /target,
       +     so start a Cygwin shell, and execute something similar to the following:-
       +         mkdir /target
       +         cd /target
       +         unzip /glib-2.0.6-20020802.zip
       +         unzip /glib-dev-2.0.6-20020802.zip
       +         unzip /libintl-0.10.40-20020310.zip
       +         unzip /libiconv-1.7-w32.bin.zip
       +   - In order for pkg-config to detect the installed packages, you need
       +     to put their .pc files (in /target/lib/pkgconfig) in the pkgconfig search
       +     path. One way of doing this is with the following command:-
       +         ln -s /target/lib/pkgconfig /lib/pkgconfig
       +   - To link properly with iconv, it needs to be placed in your link path. The
       +     following should accomplish this:-
       +         mv /target/libiconv-1.7-w32.bin/iconv.lib /target/lib
       +   - In order for the configure script to properly detect libintl, it needs to
       +     be placed in the include path:-
       +         ln -s /target/include/libintl.h /usr/include/mingw
       +   - Finally, in order for GLib applications such as dopewars to work, the
       +     libintl, libiconv and libglib DLLs need to be in the Windows library
       +     search path. You can either copy them into the dopewars directory, or
       +     place them somewhere such as C:\WINNT\System32, either with Windows
       +     Explorer or with a Cygwin command such as:-
       +         cp lib/libintl-1.dll libiconv-1.7-w32.bin/iconv.dll \
       +            lib/libglib-2.0-0.dll /cygdrive/c/winnt/system32
       +
       +
        INSTALLATION
       +============
        
        dopewars installation should require no more than the following:-
        
       t@@ -31,12 +68,9 @@ dopewars installation should require no more than the following:-
                make install
        
        (To build a CVS version, you must have the automake and autoconf packages
       -installed. Run ./autogen.sh to generate the Makefiles and configure script.
       -You will also need the gettext package if you want to enable NLS support,
       -in order to generate the necessary .po files.)
       -
       -(If you also wish to build the Windows installer program, see the instructions
       -in the win32/ subdirectory of the dopewars source code distribution.)
       +installed. Run ./autogen.sh instead of ./configure - this generates the
       +Makefiles and configure script. You will also need the gettext package if
       +you want to enable NLS support, in order to generate the necessary .po files.)
        
        The configure script checks to see if your system is a "normal" Unix or the
        Unix-under-Win32 "Cygwin" environment. On a Cygwin system, the default is to
       t@@ -46,18 +80,17 @@ test can be overridden (if, for example, you wanted to build the Unix version
        under Cygwin) with the --enable-nativewin32 option to configure e.g.
        
        to build the Win32 binary under Cygwin
       -        ./configure --datadir="." --disable-nls
       +        ./configure --datadir="."
                (Cygwin should be automatically detected)
        or
       -        ./configure --enable-nativewin32 --datadir="." --disable-nls
       +        ./configure --enable-nativewin32 --datadir="."
        
        to build the Unix version under Cygwin
       -        ./configure --disable-nativewin32 --disable-nls
       +        ./configure --disable-nativewin32
        
        (The --datadir="." forces the high score file to be placed in the current
        directory, which is rather more useful on a Windows system than the default
       -location - see below. --disable-nls compiles a version of the software
       -without support for translation into non-English languages.)
       +location - see below.)
        
        For a smaller binary, you may wish to build a "stripped" binary by specifying
        the -s option in LDFLAGS. In a Bourne-compatible shell, this can be achieved
       t@@ -104,6 +137,16 @@ simple text-mode server is used instead).
        extra warning messages (useful for debugging, etc.) Unfortunately a lot of
        these warnings can be safely ignored, so this is not the default.
        
       +WIN32 INSTALLER
       +===============
       +
       +In order to build the Win32 installer program for dopewars, place the ZLib
       +source code (from www.zlib.org) into win32/zlib, and build it with
       +
       +    make -f Makefile.nocygwin
       +
       +Then you should be able to build setup.exe by simply executing "make" in
       +the win32 directory.
        
        Basic Installation
        ==================