(Note: this is the first release with the cnfigure script.  I never
before used this tool so it might not work under all circumstances.

E.g. I know that sometimes the libscheme.a is not build correctly.
The linker gives you errors when linking myxec.  You should then
simply remove libscheme.a and start make again.  Always worked for
me.)

Follow these steps to install myxec:

0.  Install gcc-2.X, with X >= 4.  This is ABSOLUTELY required.
    (gcc-2.4.5, gcc-2.5.8 or gcc-2.6.0 are the recommended version
    and all these should now be able to compile the program)

1.  run configure:

    > sh configure

    If you have Xaw3d and want to use it (I did) give it the argument
    --with-xaw3d.

2.  run make (I think GNUmake is not needed anymore but it's always a
    good idea to install it):

    > make

3.  install the application defaults file Myxec.ad.  I extensively use
    the app-defaults file because it is easier for developing.  When I
    manage to get a stable version I will put the information in the C
    files and the app-def file is less important.  You have to install
    the file under the name Myxec (not Myxec.ad !!!).  I prefer to use
    a dir ~/app-defaults and let the env-var XAPPLRESDIR point to this
    dir.

4.  make sure the files .myxec-scheme, pp.scm amd libscheme.init are
    in the dir you start the program in.  This is for the scheme
    interpreter (see documentation).

To run the program you have to use a color X-terminal.  (For now)
there is no monochrome version (I think 0.3 will be).

The commandline options are as follows:

    myxec [-h] [-s server] [-p port] [-f datafile] [country [player]]

There are also long options, e.g. --port instead of -p.  The meaning:

   -h/--help   :  Display usage (see above)

   -s/--server :  set server to be used.  This information could also
                  be set in the environment variable EMPIREHOST and
                  can be the name or its numeric representation.

   -p/--port   :  set port of empire server.  You should have received
                  this info with the game announcement.  The corresponding
                  environment variable is EMPIREPORT.

   -f/--file   :  set the name of the file the game data is saved.
                  For now this is a stupid algorithm which saves all
                  data regardless whether you know anything about the
                  sector or not.  For big worlds this may be a big
                  file (192x192 ~ 2.3MB).  I think this will be
                  replaced by a smarter algo but for now...  The
                  default name is .myxec-data      

   country     :  country name (or environment var COUNTRY)

   player      :  password (or environment var PLAYER)

All commandline options overwrite the environment vars.  If you have
empire as a services in your hosts /etc/service (or the equivalent)
you need not give a port.

Note to the data file:  you will find that the client sometimes
crashes.  In this situation it won't save the data file with the
actual information.  When starting new and a data file exists you will
find old information to be displyed.  Simple use the all command to
get a complete new set of information.
