------------------------------------------------------------
$Id: INSTALL,v 1.7 2002/10/20 20:10:53 mrq Exp $
------------------------------------------------------------


This documents describes the compilation process for a Unix based system
(this has been tested successfully on GNU/Linux only, but as it's been
written in a portable manner, porting it to another system should
only be a matter of tweaking the configure script).

NB: the Win32 compilation process is described in INSTALL.Win32

------------------------------------------------------------
1. What's needed ?
------------------------------------------------------------

Tools :
	* GNU make
	* C++ compiler, which supports namespaces, and templates (any
	  recent version of GCC under Linux and Windows, Visual C++ 6, etc.)

Libraries :
	* SDL, a library that handles sound, threads, window creation,
	  independently of the OS. Supported OSes are : Unix, BeOS, MacOS,
	  Windows, etc..
		http://www.libsdl.org

	* VARIOUS STANDARD LIBRARIES
	  Those are zlib, libpng and libjpeg, they are normally installed with
	  a default installation.
	  Be aware that you also need to have their development counterparts
	  installed (with headers).

	* LUA LIBRARY
	  It can be downloaded from http://www.lua.org
	  It's very portable and straightforward to install.


	* OPENGL
	  OpenGL is the portable graphic library of Silicon Graphics, and is
	  normally installed on recent versions of any decent operating system.
	  If you don't have an OpenGL implementation for your graphic card, you'd
	  better call your vendor to ask where you can find one.

	  You can still run with software OpenGL, using Mesa by example. But
	  unless you have a really really fast processor, this will be too slow
	  to play any game. Anyway you can download Mesa from :
		http://www.mesa3d.org

------------------------------------------------------------
2. I've got everything, now how can I compile ?
------------------------------------------------------------

Type :
	./configure --help

Check the options, and use those you think you may need... If everything is
in standard places, there should be no problem.

Now, type :
	./configure [options]
	make

Then, if everything went right, you can type : ./Docs/install.sh (the purpose of
this script is to create a configuration file for Ark, in
~/.arkhart/arkfactories.cfg, which is necessary for the shared library loader).

You also need to have game data present on your hard disk, you can download them from
http://arkhart.nekeme.net ; Be aware that you also need to "install" them (ie. run the
install.sh script).

You can now run the client :
	./Client/arkclient

If something goes wrong, file a bug in our bugzilla, http://bugzilla.nekeme.net

